Searched hist:"19 e56539" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/rc/ |
H A D | lirc_dev.c | 19e56539 Wed Jul 06 04:01:19 CDT 2016 Andi Shyti <andi.shyti@samsung.com> [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>
|