[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [NET] front: Remove duplicate maybe_wake_tx
Hi: [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@xxxxxxxxxxxxxxxxxxx> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- diff -r 3d3e5a3008f6 -r 9b5b48ee0961 linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Thu May 18 16:19:18 2006 +0100 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Fri May 19 08:50:19 2006 +1000 @@ -1046,8 +1046,6 @@ static void network_connect(struct net_d 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); } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |