diff options
author | Benoit Parrot <bparrot@ti.com> | 2016-02-19 18:00:30 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-23 07:17:27 -0300 |
commit | 2ddf22eec4b88ab0d4235a140db8243eaaab5128 (patch) | |
tree | 5bedade5111e2867d65ea085cb387007c3b1aec5 /include/media/media-device.h | |
parent | 7f67c587cfd9d27cfcaa22a545f6a999432aa023 (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