aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-common.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-08-01 09:06:10 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-12 09:14:05 -0400
commitc4189ffb8c052ce4b2bd4ace6cd628a4fe3d9e65 (patch)
tree285e4c2e00e4f424617190023a6840e889bd9a6a /drivers/media/v4l2-core/v4l2-common.c
parentmedia: MAINTAINERS: mark ddbridge, stv0910, stv6111 and mxl5xx orphan (diff)
downloadlinux-c4189ffb8c052ce4b2bd4ace6cd628a4fe3d9e65.tar.gz
linux-c4189ffb8c052ce4b2bd4ace6cd628a4fe3d9e65.zip
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>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-common.c')
0 files changed, 0 insertions, 0 deletions