mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 07:46:43 +07:00
[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:
parent
61f6a0569c
commit
ad7b8c0227
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user