Tag: 7c57529baa17e14c8b5406da41a3118613fe880d

[media] V4L2: Deletion of an unnecessary check before the function call “vb2_put_vma”

Author: Markus Elfring <elfring@users.sourceforge.net> The vb2_put_vma() 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 Acked-by: Marek Szyprowski Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab — drivers/media/v4l2-core/videobuf2-vmalloc.c | 3 +– 1 file …

Continue reading