From: kaf24@firebug.cl.cam.ac.uk Date: Fri, 19 May 2006 14:58:46 +0000 (+0100) Subject: [NET] front: Remove duplicate maybe_wake_tx X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16047^2~23^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1e36436a10b7bbfc0345a0d630abb412112d2bcb;p=xen.git [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 --- diff --git a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c index a85684d402..431841523d 100644 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c @@ -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); }