aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2009-11-17 17:53:41 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 14:55:21 -0500
commit576a362ad2103da481e1f6e13de01f33d3d4c7b1 (patch)
tree3b69cdfa35491c60c25e89def239f3952703d6c0 /drivers
parent54a8e144acad6506920f385f4ef2779664f05b21 (diff)
USB: hcd.c: quiet NULL pointer sparse noise
Quiet the following sparse noise: warning: Using plain integer as NULL pointer Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/core/hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index 026ab2fe5c2d..daac0427bfd5 100644
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -1607,7 +1607,7 @@ int usb_hcd_check_bandwidth(struct usb_device *udev,
1607{ 1607{
1608 int num_intfs, i, j; 1608 int num_intfs, i, j;
1609 struct usb_interface_cache *intf_cache; 1609 struct usb_interface_cache *intf_cache;
1610 struct usb_host_interface *alt = 0; 1610 struct usb_host_interface *alt = NULL;
1611 int ret = 0; 1611 int ret = 0;
1612 struct usb_hcd *hcd; 1612 struct usb_hcd *hcd;
1613 struct usb_host_endpoint *ep; 1613 struct usb_host_endpoint *ep;