mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[NET] front: Remove duplicate maybe_wake_tx
Since network_tx_buf_gc unconditionally calls network_maybe_wake_tx at the end, there is no need to call it again right after a call to network_tx_buf_gc. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
1 parent
e1b53df502
commit
1e36436a10
1 file changed
-2
@@ -1045,8 +1045,6 @@ static void network_connect(struct net_device *dev)
|
||||
notify_remote_via_irq(np->irq);
|
||||
network_tx_buf_gc(dev);
|
||||
|
||||
network_maybe_wake_tx(dev);
|
||||
|
||||
spin_unlock(&np->rx_lock);
|
||||
spin_unlock_irq(&np->tx_lock);
|
||||
}
|
||||
|
||||