mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
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:
parent
54a8e144ac
commit
576a362ad2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue