Tag: 704b3f4c11e0b1265a41472b6b25dd9e3d205674

[media] stk-webcam: Delete an unnecessary check before the function call “vfree”

Author: Markus Elfring <elfring@users.sourceforge.net> The vfree() function performs also input parameter validation. 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: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab — drivers/media/usb/stkwebcam/stk-webcam.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff –git …

Continue reading