diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-11-03 02:41:06 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-11-07 03:05:40 -0500 |
commit | 2b00e30fc33de720cedad69427931aa393cdbaf0 (patch) | |
tree | 5537ede2ebddf9bbd2cb45f42e11eff66caf1030 /arch | |
parent | 9917fbcfa20ab987d6381fd0365665e5c1402d75 (diff) |
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 <colin.king@canonical.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions