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
Staging: et131x: config is already zeroed
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
net
/
sonic.c
diff --git
a/drivers/net/sonic.c
b/drivers/net/sonic.c
index 753a1fba46093cb4bc076eee92e7de93f06ab4de..9599ce77ef85858fb993d088ef51c483fd3482ed 100644
(file)
--- a/
drivers/net/sonic.c
+++ b/
drivers/net/sonic.c
@@
-211,7
+211,7
@@
static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev)
length = skb->len;
if (length < ETH_ZLEN) {
if (skb_padto(skb, ETH_ZLEN))
- return
0
;
+ return
NETDEV_TX_OK
;
length = ETH_ZLEN;
}
@@
-265,7
+265,7
@@
static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev)
dev->trans_start = jiffies;
- return
0
;
+ return
NETDEV_TX_OK
;
}
/*