[media] lirc_dev: simplify if statement in lirc_add_to_buf
The whole function is inside an 'if' statement
("if (ir->d.add_to_buf)").
Check the opposite of that statement at the beginning and exit,
this way we can have one level less of indentation.
Signed-off-by:
Andi Shyti <andi.shyti@samsung.com>
Signed-off-by:
Mauro Carvalho Chehab <mchehab@s-opensource.com>
Loading
Please register or sign in to comment