r8169: Fix warning in rtl8169_start_xmit().
David S. Miller [Mon, 7 Sep 2009 09:03:37 +0000 (02:03 -0700)]
Reported by Stephen Rothwell:

drivers/net/r8169.c: In function 'rtl8169_start_xmit':
drivers/net/r8169.c:3421: warning: label 'out' defined but not used

Introduced by commit 61357325f377889a1daffa14962d705dc814dd0e ("netdev:
convert bulk of drivers to netdev_tx_t").

Signed-off-by: David S. Miller <davem@davemloft.net>

drivers/net/r8169.c

index a91e9b3..50c6a3c 100644 (file)
@@ -3416,7 +3416,6 @@ static netdev_tx_t rtl8169_start_xmit(struct sk_buff *skb,
                        netif_wake_queue(dev);
        }
 
-out:
        return NETDEV_TX_OK;
 
 err_stop: