diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2009-11-17 14:53:41 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 11:55:21 -0800 |
commit | 576a362ad2103da481e1f6e13de01f33d3d4c7b1 (patch) | |
tree | 3b69cdfa35491c60c25e89def239f3952703d6c0 /drivers/usb/core/hcd.c | |
parent | 54a8e144acad6506920f385f4ef2779664f05b21 (diff) | |
download | linux-576a362ad2103da481e1f6e13de01f33d3d4c7b1.tar.bz2 |
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/usb/core/hcd.c')
-rw-r--r-- | drivers/usb/core/hcd.c | 2 |
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, { int num_intfs, i, j; struct usb_interface_cache *intf_cache; - struct usb_host_interface *alt = 0; + struct usb_host_interface *alt = NULL; int ret = 0; struct usb_hcd *hcd; struct usb_host_endpoint *ep; |