Tag: 3dd94f00f07f013259dc221d6307ef699661f7ea

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

Author: Markus Elfring <elfring@users.sourceforge.net> The functions input_free_device() and rc_close() 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/rc/lirc_dev.c | 3 +– drivers/media/rc/rc-main.c | 3 +– 2 files …

Continue reading