WSL2-Linux-Kernel/drivers/usb/host/whci
Markus Elfring 28ed207558 USB: whci-hcd: Delete an unnecessary check before the function call "usb_put_hcd"
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 <elfring@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-18 16:56:40 +01:00
..
Kbuild usb: makefile cleanup 2010-10-22 10:22:07 -07:00
asl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
debug.c usb: use %*pb[l] to print bitmaps including cpumasks and nodemasks 2015-02-13 21:21:38 -08:00
hcd.c USB: whci-hcd: Delete an unnecessary check before the function call "usb_put_hcd" 2015-03-18 16:56:40 +01:00
hw.c wusb: timeout when waiting for ASL/PZL updates in whci-hcd 2009-01-07 10:54:22 +00:00
init.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
int.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
pzl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
qset.c USB: whci-hcd: Fix potential memory leak in qset_add_urb_sg() 2012-08-10 12:06:39 -07:00
whcd.h USB: whci-hcd: support urbs with scatter-gather lists 2009-12-11 11:55:14 -08:00
whci-hc.h USB: wusb: add wusb_phy_rate sysfs file to host controllers 2009-12-11 11:55:16 -08:00
wusb.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00