[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)
commit6ab86d2aa04375167c0e168eecb672acaf3d991a
treeb643dbbae2832b12a77738e41704e7b35f838441
parent19e565397cb92b0484c46c48498e0fe2d2491efa
[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