aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/u_ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/function/u_ether.c')
-rw-r--r--drivers/usb/gadget/function/u_ether.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/gadget/function/u_ether.c b/drivers/usb/gadget/function/u_ether.c
index 686067dd8d2c..84a1709e0784 100644
--- a/drivers/usb/gadget/function/u_ether.c
+++ b/drivers/usb/gadget/function/u_ether.c
@@ -579,14 +579,6 @@ static netdev_tx_t eth_start_xmit(struct sk_buff *skb,
579 579
580 req->length = length; 580 req->length = length;
581 581
582 /* throttle high/super speed IRQ rate back slightly */
583 if (gadget_is_dualspeed(dev->gadget))
584 req->no_interrupt = (((dev->gadget->speed == USB_SPEED_HIGH ||
585 dev->gadget->speed == USB_SPEED_SUPER)) &&
586 !list_empty(&dev->tx_reqs))
587 ? ((atomic_read(&dev->tx_qlen) % dev->qmult) != 0)
588 : 0;
589
590 retval = usb_ep_queue(in, req, GFP_ATOMIC); 582 retval = usb_ep_queue(in, req, GFP_ATOMIC);
591 switch (retval) { 583 switch (retval) {
592 default: 584 default: