Commit 3de6e885 authored by Wolfram Sang's avatar Wolfram Sang Committed by David S. Miller

net: wireless: intersil: orinoco: orinoco_usb: don't print error when allocating urb fails

kmalloc will print enough information in case of failure.
Signed-off-by: default avatarWolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 938f89e5
...@@ -1613,10 +1613,8 @@ static int ezusb_probe(struct usb_interface *interface, ...@@ -1613,10 +1613,8 @@ static int ezusb_probe(struct usb_interface *interface,
} }
upriv->read_urb = usb_alloc_urb(0, GFP_KERNEL); upriv->read_urb = usb_alloc_urb(0, GFP_KERNEL);
if (!upriv->read_urb) { if (!upriv->read_urb)
err("No free urbs available");
goto error; goto error;
}
if (le16_to_cpu(ep->wMaxPacketSize) != 64) if (le16_to_cpu(ep->wMaxPacketSize) != 64)
pr_warn("bulk in: wMaxPacketSize!= 64\n"); pr_warn("bulk in: wMaxPacketSize!= 64\n");
if (ep->bEndpointAddress != (2 | USB_DIR_IN)) if (ep->bEndpointAddress != (2 | USB_DIR_IN))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment