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>
This commit is contained in:
H Hartley Sweeten 2009-11-17 14:53:41 -08:00 committed by Greg Kroah-Hartman
parent 54a8e144ac
commit 576a362ad2

View file

@ -1607,7 +1607,7 @@ int usb_hcd_check_bandwidth(struct usb_device *udev,
{ {
int num_intfs, i, j; int num_intfs, i, j;
struct usb_interface_cache *intf_cache; struct usb_interface_cache *intf_cache;
struct usb_host_interface *alt = 0; struct usb_host_interface *alt = NULL;
int ret = 0; int ret = 0;
struct usb_hcd *hcd; struct usb_hcd *hcd;
struct usb_host_endpoint *ep; struct usb_host_endpoint *ep;