Tag: 332b295d107466df8b05a99a914adbe21401449b

[media] platform: Deletion of unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions i2c_put_adapter() and release_firmware() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Mauro Carvalho Chehab — drivers/media/platform/exynos4-is/fimc-is.c | 6 ++—- drivers/media/platform/s3c-camif/camif-core.c | 3 +– 2 files …

Continue reading