aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-async.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-11-03 06:41:06 +0000
committerMauro Carvalho Chehab <[email protected]>2017-11-07 08:05:40 +0000
commit2b00e30fc33de720cedad69427931aa393cdbaf0 (patch)
tree5537ede2ebddf9bbd2cb45f42e11eff66caf1030 /drivers/media/v4l2-core/v4l2-async.c
parentmedia: camss-vfe: always initialize reg at vfe_set_xbar_cfg() (diff)
downloadkernel-2b00e30fc33de720cedad69427931aa393cdbaf0.tar.gz
kernel-2b00e30fc33de720cedad69427931aa393cdbaf0.zip
media: imx274: fix missing return assignment from call to imx274_mode_regs
The variable ret is being checked for failure however it is not being set from the return status from the call to imx274_mode_regs. Currently ret is alwayus zero and the check is redundant. Fix this by assigning it. Detected by CoverityScan, CID#1460278 ("Logically dead code") Fixes: 0985dd306f72 ("media: imx274: V4l2 driver for Sony imx274 CMOS sensor") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-async.c')
0 files changed, 0 insertions, 0 deletions