commit | 06b6fea859caa909e4e89551da9c1162c55efbc3 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Thu Nov 05 15:55:19 2015 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Nov 19 10:09:56 2015 -0200 |
tree | 39495429a4e35d5f34e28c7fed0127c66c38d3a2 | |
parent | 4dc0e908a5512f6ff4be2b4cbb128495c1eaf1ba [diff] |
[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>