r8169: Fix warning in rtl8169_start_xmit().
authorDavid S. Miller <davem@davemloft.net>
Mon, 7 Sep 2009 09:03:37 +0000 (02:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
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 a91e9b3a3eb600bf8bdae723e8426715c9119f14..50c6a3cfe439d9702f72291acfd938c85c75f114 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: