projects
/
linux-2.6-microblaze.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
[linux-2.6-microblaze.git]
/
net
/
netrom
/
nr_dev.c
diff --git
a/net/netrom/nr_dev.c
b/net/netrom/nr_dev.c
index
3513724
..
c7b7838
100644
(file)
--- a/
net/netrom/nr_dev.c
+++ b/
net/netrom/nr_dev.c
@@
-177,13
+177,13
@@
static int nr_xmit(struct sk_buff *skb, struct net_device *dev)
if (!nr_route_frame(skb, NULL)) {
kfree_skb(skb);
stats->tx_errors++;
- return
0
;
+ return
NETDEV_TX_OK
;
}
stats->tx_packets++;
stats->tx_bytes += len;
- return
0
;
+ return
NETDEV_TX_OK
;
}
static const struct header_ops nr_header_ops = {