|
@@ -558,8 +558,6 @@ static int esd_usb2_setup_rx_urbs(struct esd_usb2 *dev)
|
|
|
/* create a URB, and a buffer for it */
|
|
|
urb = usb_alloc_urb(0, GFP_KERNEL);
|
|
|
if (!urb) {
|
|
|
- dev_warn(dev->udev->dev.parent,
|
|
|
- "No memory left for URBs\n");
|
|
|
err = -ENOMEM;
|
|
|
break;
|
|
|
}
|
|
@@ -730,7 +728,6 @@ static netdev_tx_t esd_usb2_start_xmit(struct sk_buff *skb,
|
|
|
/* create a URB, and a buffer for it, and copy the data to the URB */
|
|
|
urb = usb_alloc_urb(0, GFP_ATOMIC);
|
|
|
if (!urb) {
|
|
|
- netdev_err(netdev, "No memory left for URBs\n");
|
|
|
stats->tx_dropped++;
|
|
|
dev_kfree_skb(skb);
|
|
|
goto nourbmem;
|