Tag: 5164d6aac0ed1b711a7b29bb556844e40f422ec6

[media] V4L2: Delete an unnecessary check before the function call “media_entity_put”

Author: Markus Elfring <elfring@users.sourceforge.net> The media_entity_put() function tests whether its argument is NULL and then returns 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/v4l2-core/v4l2-subdev.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   …

Continue reading