[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: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
Mauro Carvalho Chehab 2014-09-03 16:19:29 -03:00
parent 61f6a0569c
commit ad7b8c0227
1 changed files with 1 additions and 1 deletions

View File

@ -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 */