diff options
author | Benoit Parrot <bparrot@ti.com> | 2016-02-19 23:00:30 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-23 13:17:27 +0300 |
commit | 2ddf22eec4b88ab0d4235a140db8243eaaab5128 (patch) | |
tree | 5bedade5111e2867d65ea085cb387007c3b1aec5 /drivers/media/usb/au0828/au0828-core.c | |
parent | 7f67c587cfd9d27cfcaa22a545f6a999432aa023 (diff) | |
download | linux-2ddf22eec4b88ab0d4235a140db8243eaaab5128.tar.xz |
[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 'drivers/media/usb/au0828/au0828-core.c')
0 files changed, 0 insertions, 0 deletions