summaryrefslogtreecommitdiff
path: root/include/media/media-device.h
diff options
context:
space:
mode:
authorBenoit Parrot <bparrot@ti.com>2016-02-19 18:00:30 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-23 07:17:27 -0300
commit2ddf22eec4b88ab0d4235a140db8243eaaab5128 (patch)
tree5bedade5111e2867d65ea085cb387007c3b1aec5 /include/media/media-device.h
parent7f67c587cfd9d27cfcaa22a545f6a999432aa023 (diff)
[media] media: ti-vpe: cal: Fix warning: variable dereference before being checked
As reported ctx->sensor is being dereferenced before being checked in cal_get_external_info(). That being the case it was also checked twice in multiple other location where v4l2_subdev_call is already checking it so no need to explicitly check it again. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/media-device.h')
0 files changed, 0 insertions, 0 deletions