Commit d35bf9bc authored by Finn Thain's avatar Finn Thain Committed by David S. Miller

net/sonic: Remove redundant netif_start_queue() call

The transmit queue must be running already otherwise sonic_send_packet()
would not have been called. If the queue was stopped by the interrupt
handler, the interrupt handler will restart it again.
Tested-by: default avatarStan Johnson <userm57@yahoo.com>
Signed-off-by: default avatarFinn Thain <fthain@telegraphics.com.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 29660d50
...@@ -327,7 +327,7 @@ static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev) ...@@ -327,7 +327,7 @@ static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev)
netif_dbg(lp, tx_queued, dev, "%s: stopping queue\n", __func__); netif_dbg(lp, tx_queued, dev, "%s: stopping queue\n", __func__);
netif_stop_queue(dev); netif_stop_queue(dev);
/* after this packet, wait for ISR to free up some TDAs */ /* after this packet, wait for ISR to free up some TDAs */
} else netif_start_queue(dev); }
netif_dbg(lp, tx_queued, dev, "%s: issuing Tx command\n", __func__); netif_dbg(lp, tx_queued, dev, "%s: issuing Tx command\n", __func__);
......
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