Commit 78590afd authored by François Romieu's avatar François Romieu Committed by Stephen Hemminger

[PATCH] Fix debug statement after return in drivers/net/wireless/arlan-main.c

This patch applies to 2.5.68 and is listed on kbugs.org. The debug statement
is never executed because it is after a return.
parent e0618466
......@@ -721,9 +721,9 @@ static int arlan_hw_tx(struct net_device *dev, char *buf, int length)
else
{
netif_stop_queue (dev);
return -1;
IFDEBUG(ARLAN_DEBUG_TX_CHAIN)
printk(KERN_ERR "TX TAIL & HEAD full, return, tailStart %d headEnd %d\n", tailStarts, headEnds);
return -1;
}
priv->out_bytes += length;
priv->out_bytes10 += length;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment