mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
[media] lm3560: simplify a boolean test
lml33dpatch is boolean. So, the possible values are true or false. Instead of using if (lml33dpath), just use if (!lml33dpath). That allows a faster mental parsing when analyzing the code. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
afb666d1e7
commit
1b21e2187a
@ -682,7 +682,7 @@ set_videobus_dir (struct zoran *zr,
|
||||
switch (zr->card.type) {
|
||||
case LML33:
|
||||
case LML33R10:
|
||||
if (lml33dpath == 0)
|
||||
if (!lml33dpath)
|
||||
GPIO(zr, 5, val);
|
||||
else
|
||||
GPIO(zr, 5, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user