Tag: 28ed20755897b3726f07a0418c3d2fe17b3e5c86

USB: whci-hcd: Delete an unnecessary check before the function call “usb_put_hcd”

Author: Markus Elfring <elfring@users.sourceforge.net> The usb_put_hcd() 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: Greg Kroah-Hartman — drivers/usb/host/whci/hcd.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Continue reading