]> git.baikalelectronics.ru Git - kernel.git/commit
[media] lirc_dev: remove double if ... else statement
authorAndi Shyti <andi.shyti@samsung.com>
Wed, 6 Jul 2016 09:01:20 +0000 (06:01 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 13 Jul 2016 18:09:05 +0000 (15:09 -0300)
commit084f16dc0278f45fcb0aa57fe97540dc02dfb4b6
treeb643dbbae2832b12a77738e41704e7b35f838441
parent21b316c4f1747c03bcbfbdc529d59046e2e484e9
[media] lirc_dev: remove double if ... else statement

There are two if ... else which check the same thing in different
part of the code, they can be merged in a single check.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c