Commit ad7b8c02 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] msi2500: simplify boolean tests

Instead of using if (foo == false), just use
if (!foo).

That allows a faster mental parsing when analyzing the
code.
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 61f6a056
......@@ -1212,7 +1212,7 @@ static int msi2500_probe(struct usb_interface *intf,
s->pixelformat = formats[0].pixelformat;
s->buffersize = formats[0].buffersize;
s->num_formats = NUM_FORMATS;
if (msi2500_emulated_fmt == false)
if (!msi2500_emulated_fmt)
s->num_formats -= 2;
/* Init videobuf2 queue structure */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment