]> git.karo-electronics.de Git - linux-beck.git/commit
[media] drxk_hard: simplify test logic
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 18:23:57 +0000 (15:23 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 20:59:23 +0000 (17:59 -0300)
commit5a7f7b79d80ee8ee9f54055f1ba56fae1644b4ec
tree4a389b957a617f42d583dae8b47e1343f9cd8893
parentad7b8c0227ef18b29256e063d788e206c1466ac2
[media] drxk_hard: simplify test logic

instead of testing if it is false or true, just use
if (!foo) or if (foo). That makes the code easier to
read and shorter.

Also, properly initialize booleans with true or false.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/drxk_hard.c