[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:
kaf24@firebug.cl.cam.ac.uk committed 2006-05-19 15:58:46 +01:00
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);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.