Date: Sat, 5 May 2007 17:19:09 +0200 (CEST) From: Stefan Richter Subject: [PATCH 1/2] ieee1394: eth1394: remove bogus netif_wake_queue When we are within hard_start_xmit, the queue is already awake. Signed-off-by: Stefan Richter --- Index: linux-2.6.21.1/drivers/ieee1394/eth1394.c =================================================================== --- linux-2.6.21.1.orig/drivers/ieee1394/eth1394.c 2007-05-03 22:09:05.000000000 +0200 +++ linux-2.6.21.1/drivers/ieee1394/eth1394.c 2007-05-03 22:10:56.000000000 +0200 @@ -1636,7 +1636,6 @@ static int ether1394_tx(struct sk_buff * if (ether1394_send_packet(ptask, tx_len)) goto fail; - netif_wake_queue(dev); return NETDEV_TX_OK; fail: if (ptask) @@ -1650,9 +1649,6 @@ fail: priv->stats.tx_errors++; spin_unlock_irqrestore(&priv->lock, flags); - if (netif_queue_stopped(dev)) - netif_wake_queue(dev); - /* * FIXME: According to a patch from 2003-02-26, "returning non-zero * causes serious problems" here, allegedly. Before that patch,