OpenCloudOS-Kernel/drivers/media/pci/ddbridge
Colin Ian King c4189ffb8c media: ddbridge/sx8: remove redundant check of iq_mode == 2
The check for irq_mode == 2 occurs is always false and hence flags
is always zero.  This is because the check occurs in a path where
irq_mode is >= 3. Clean up the code by removing the check and irq_mode
and just pass 0.

Detected by CoverityScan, CID#1472214 ("Logically dead code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-12 09:14:05 -04:00
..
Kconfig media: ddbridge: support dummy tuners with 125MByte/s dummy data stream 2018-05-04 10:43:48 -04:00
Makefile media: ddbridge/mci: split MaxSX8 specific code off to ddbridge-sx8.c 2018-07-30 16:23:12 -04:00
ddbridge-ci.c media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-ci.h media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-core.c media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-hw.c media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-hw.h media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-i2c.c media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-i2c.h media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-io.h media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-main.c media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-max.c media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-max.h media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-mci.c media: ddbridge/mci: split MaxSX8 specific code off to ddbridge-sx8.c 2018-07-30 16:23:12 -04:00
ddbridge-mci.h media: ddbridge/mci: add SX8 I/Q mode remark and remove DIAG CMD defines 2018-07-30 16:23:12 -04:00
ddbridge-regs.h media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00
ddbridge-sx8.c media: ddbridge/sx8: remove redundant check of iq_mode == 2 2018-09-12 09:14:05 -04:00
ddbridge.h media: ddbridge: header/boilerplate cleanups and cosmetics 2018-09-12 07:18:44 -04:00