projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf33ce1
)
r8169: Fix warning in rtl8169_start_xmit().
author
David S. Miller
<davem@davemloft.net>
Mon, 7 Sep 2009 09:03:37 +0000
(
02:03
-0700)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/r8169.c
b/drivers/net/r8169.c
index a91e9b3a3eb600bf8bdae723e8426715c9119f14..50c6a3cfe439d9702f72291acfd938c85c75f114 100644
(file)
--- a/
drivers/net/r8169.c
+++ b/
drivers/net/r8169.c
@@
-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: