summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/uvc
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2015-11-05 15:55:19 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-11-19 10:09:56 -0200
commit06b6fea859caa909e4e89551da9c1162c55efbc3 (patch)
tree39495429a4e35d5f34e28c7fed0127c66c38d3a2 /drivers/media/usb/uvc
parent4dc0e908a5512f6ff4be2b4cbb128495c1eaf1ba (diff)
downloadtalos-op-linux-06b6fea859caa909e4e89551da9c1162c55efbc3.tar.gz
talos-op-linux-06b6fea859caa909e4e89551da9c1162c55efbc3.zip
[media] c8sectpfe: Delete unnecessary checks before two function calls
The functions i2c_put_adapter() and module_put() test whether their argument is NULL and then return immediately. Thus the tests around their calls are not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud