Tag: 03f3df817dd3bf988c6d56e10e99b5b4553f5044

USB-IP: Deletion of unnecessary checks before the function call “usb_put_dev”

Author: Markus Elfring <elfring@users.sourceforge.net> The usb_put_dev() 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: Valentina Manea Signed-off-by: Greg Kroah-Hartman — drivers/usb/usbip/vhci_hcd.c | 9 +++—— 1 file changed, 3 insertions(+), 6 …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.