diff options
Diffstat (limited to 'drivers/usb/net/usbnet.c')
-rw-r--r-- | drivers/usb/net/usbnet.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/net/usbnet.c b/drivers/usb/net/usbnet.c index 4682696450db..3c6eef4168e5 100644 --- a/drivers/usb/net/usbnet.c +++ b/drivers/usb/net/usbnet.c | |||
@@ -2987,7 +2987,6 @@ static void rx_submit (struct usbnet *dev, struct urb *urb, unsigned flags) | |||
2987 | 2987 | ||
2988 | usb_fill_bulk_urb (urb, dev->udev, dev->in, | 2988 | usb_fill_bulk_urb (urb, dev->udev, dev->in, |
2989 | skb->data, size, rx_complete, skb); | 2989 | skb->data, size, rx_complete, skb); |
2990 | urb->transfer_flags |= URB_ASYNC_UNLINK; | ||
2991 | 2990 | ||
2992 | spin_lock_irqsave (&dev->rxq.lock, lockflags); | 2991 | spin_lock_irqsave (&dev->rxq.lock, lockflags); |
2993 | 2992 | ||
@@ -3561,7 +3560,6 @@ static int usbnet_start_xmit (struct sk_buff *skb, struct net_device *net) | |||
3561 | 3560 | ||
3562 | usb_fill_bulk_urb (urb, dev->udev, dev->out, | 3561 | usb_fill_bulk_urb (urb, dev->udev, dev->out, |
3563 | skb->data, skb->len, tx_complete, skb); | 3562 | skb->data, skb->len, tx_complete, skb); |
3564 | urb->transfer_flags |= URB_ASYNC_UNLINK; | ||
3565 | 3563 | ||
3566 | /* don't assume the hardware handles USB_ZERO_PACKET | 3564 | /* don't assume the hardware handles USB_ZERO_PACKET |
3567 | * NOTE: strictly conforming cdc-ether devices should expect | 3565 | * NOTE: strictly conforming cdc-ether devices should expect |