ia64/xen-unstable

changeset 10106:292b4d017d56

[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>
author kaf24@firebug.cl.cam.ac.uk
date Fri May 19 15:58:46 2006 +0100 (2006-05-19)
parents 167790b102ac
children 32013c5118d2
files linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Fri May 19 15:52:35 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Fri May 19 15:58:46 2006 +0100
     1.3 @@ -1045,8 +1045,6 @@ static void network_connect(struct net_d
     1.4  	notify_remote_via_irq(np->irq);
     1.5  	network_tx_buf_gc(dev);
     1.6  
     1.7 -	network_maybe_wake_tx(dev);
     1.8 -
     1.9  	spin_unlock(&np->rx_lock);
    1.10  	spin_unlock_irq(&np->tx_lock);
    1.11  }