aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/farsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/farsync.c')
-rw-r--r--drivers/net/wan/farsync.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wan/farsync.c b/drivers/net/wan/farsync.c
index 90c0a317d9d3..20a1237a3d74 100644
--- a/drivers/net/wan/farsync.c
+++ b/drivers/net/wan/farsync.c
@@ -2294,7 +2294,7 @@ fst_start_xmit(struct sk_buff *skb, struct net_device *dev)
2294 dbg(DBG_ASS, 2294 dbg(DBG_ASS,
2295 "Tried to transmit but no carrier on card %d port %d\n", 2295 "Tried to transmit but no carrier on card %d port %d\n",
2296 card->card_no, port->index); 2296 card->card_no, port->index);
2297 return 0; 2297 return NETDEV_TX_OK;
2298 } 2298 }
2299 2299
2300 /* Drop it if it's too big! MTU failure ? */ 2300 /* Drop it if it's too big! MTU failure ? */
@@ -2303,7 +2303,7 @@ fst_start_xmit(struct sk_buff *skb, struct net_device *dev)
2303 LEN_TX_BUFFER); 2303 LEN_TX_BUFFER);
2304 dev_kfree_skb(skb); 2304 dev_kfree_skb(skb);
2305 dev->stats.tx_errors++; 2305 dev->stats.tx_errors++;
2306 return 0; 2306 return NETDEV_TX_OK;
2307 } 2307 }
2308 2308
2309 /* 2309 /*
@@ -2337,7 +2337,7 @@ fst_start_xmit(struct sk_buff *skb, struct net_device *dev)
2337 dev->stats.tx_errors++; 2337 dev->stats.tx_errors++;
2338 dbg(DBG_ASS, "Tx queue overflow card %d port %d\n", 2338 dbg(DBG_ASS, "Tx queue overflow card %d port %d\n",
2339 card->card_no, port->index); 2339 card->card_no, port->index);
2340 return 0; 2340 return NETDEV_TX_OK;
2341 } 2341 }
2342 2342
2343 /* 2343 /*
@@ -2354,7 +2354,7 @@ fst_start_xmit(struct sk_buff *skb, struct net_device *dev)
2354 fst_q_work_item(&fst_work_txq, card->card_no); 2354 fst_q_work_item(&fst_work_txq, card->card_no);
2355 tasklet_schedule(&fst_tx_task); 2355 tasklet_schedule(&fst_tx_task);
2356 2356
2357 return 0; 2357 return NETDEV_TX_OK;
2358} 2358}
2359 2359
2360/* 2360/*