Commit 3a5f29c1 authored by David S. Miller's avatar David S. Miller

r8169: Fix warning in rtl8169_start_xmit().

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 61357325 ("netdev:
convert bulk of drivers to netdev_tx_t").
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cf33ce15
...@@ -3416,7 +3416,6 @@ static netdev_tx_t rtl8169_start_xmit(struct sk_buff *skb, ...@@ -3416,7 +3416,6 @@ static netdev_tx_t rtl8169_start_xmit(struct sk_buff *skb,
netif_wake_queue(dev); netif_wake_queue(dev);
} }
out:
return NETDEV_TX_OK; return NETDEV_TX_OK;
err_stop: err_stop:
......
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