projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions
[deliverable/linux.git]
/
drivers
/
net
/
eepro.c
diff --git
a/drivers/net/eepro.c
b/drivers/net/eepro.c
index cc2ab6412c7382484073f405306a4a76775b59bd..71605d63708c61e31574aee72cfd2a7a33d22117 100644
(file)
--- a/
drivers/net/eepro.c
+++ b/
drivers/net/eepro.c
@@
-1145,7
+1145,7
@@
static int eepro_send_packet(struct sk_buff *skb, struct net_device *dev)
if (length < ETH_ZLEN) {
if (skb_padto(skb, ETH_ZLEN))
- return
0
;
+ return
NETDEV_TX_OK
;
length = ETH_ZLEN;
}
netif_stop_queue (dev);
@@
-1178,7
+1178,7
@@
static int eepro_send_packet(struct sk_buff *skb, struct net_device *dev)
eepro_en_int(ioaddr);
spin_unlock_irqrestore(&lp->lock, flags);
- return
0
;
+ return
NETDEV_TX_OK
;
}
This page took
0.025683 seconds
and
5
git commands to generate.