diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-03 15:19:29 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-03 16:59:23 -0400 |
commit | ad7b8c0227ef18b29256e063d788e206c1466ac2 (patch) | |
tree | 0273d7ca25d6da62c1e563617987cb5e7cf3beea | |
parent | 61f6a0569c6ce563accb8f415373756febe62752 (diff) |
[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>
-rw-r--r-- | drivers/media/usb/msi2500/msi2500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/msi2500/msi2500.c b/drivers/media/usb/msi2500/msi2500.c index 71e0960b46c0..e980aaa47b7c 100644 --- a/drivers/media/usb/msi2500/msi2500.c +++ b/drivers/media/usb/msi2500/msi2500.c | |||
@@ -1212,7 +1212,7 @@ static int msi2500_probe(struct usb_interface *intf, | |||
1212 | s->pixelformat = formats[0].pixelformat; | 1212 | s->pixelformat = formats[0].pixelformat; |
1213 | s->buffersize = formats[0].buffersize; | 1213 | s->buffersize = formats[0].buffersize; |
1214 | s->num_formats = NUM_FORMATS; | 1214 | s->num_formats = NUM_FORMATS; |
1215 | if (msi2500_emulated_fmt == false) | 1215 | if (!msi2500_emulated_fmt) |
1216 | s->num_formats -= 2; | 1216 | s->num_formats -= 2; |
1217 | 1217 | ||
1218 | /* Init videobuf2 queue structure */ | 1218 | /* Init videobuf2 queue structure */ |