Tag: 06b6fea859caa909e4e89551da9c1162c55efbc3

[media] c8sectpfe: Delete unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: Mauro Carvalho Chehab — drivers/media/platform/sti/c8sectpfe/c8sectpfe-common.c | 5 ++— 1 file changed, 2 insertions(+), 3 …

Continue reading