-
- Downloads
[media] USB: Deletion of unnecessary checks before three function calls
GIT_AUTHOR_DATE=1416486805 The functions pvr2_hdw_destroy(), rc_unregister_device() and vfree() perform 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 <elfring@users.sourceforge.net> Signed-off-by:
Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Showing
- drivers/media/usb/au0828/au0828-input.c 1 addition, 2 deletionsdrivers/media/usb/au0828/au0828-input.c
- drivers/media/usb/em28xx/em28xx-input.c 1 addition, 2 deletionsdrivers/media/usb/em28xx/em28xx-input.c
- drivers/media/usb/pvrusb2/pvrusb2-context.c 1 addition, 1 deletiondrivers/media/usb/pvrusb2/pvrusb2-context.c
- drivers/media/usb/s2255/s2255drv.c 1 addition, 2 deletionsdrivers/media/usb/s2255/s2255drv.c
Loading
Please register or sign in to comment