projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r8169: Fix warning in rtl8169_start_xmit().
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
net
/
declance.c
diff --git
a/drivers/net/declance.c
b/drivers/net/declance.c
index 2b22e580c4ded83e7873fbbe5502f10c208aae0f..a31696a3928e6d05eda0f18da681f47ea4fa7bf7 100644
(file)
--- a/
drivers/net/declance.c
+++ b/
drivers/net/declance.c
@@
-902,7
+902,7
@@
static int lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
if (len < ETH_ZLEN) {
if (skb_padto(skb, ETH_ZLEN))
- return
0
;
+ return
NETDEV_TX_OK
;
len = ETH_ZLEN;
}
@@
-933,7
+933,7
@@
static int lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
dev->trans_start = jiffies;
dev_kfree_skb(skb);
- return
0
;
+ return
NETDEV_TX_OK
;
}
static void lance_load_multicast(struct net_device *dev)