aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/hdlc_fr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/hdlc_fr.c')
-rw-r--r--drivers/net/wan/hdlc_fr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wan/hdlc_fr.c b/drivers/net/wan/hdlc_fr.c
index bfa0161a02d3..52438c76bf8a 100644
--- a/drivers/net/wan/hdlc_fr.c
+++ b/drivers/net/wan/hdlc_fr.c
@@ -421,7 +421,7 @@ static int pvc_xmit(struct sk_buff *skb, struct net_device *dev)
421 GFP_ATOMIC)) { 421 GFP_ATOMIC)) {
422 dev->stats.tx_dropped++; 422 dev->stats.tx_dropped++;
423 dev_kfree_skb(skb); 423 dev_kfree_skb(skb);
424 return 0; 424 return NETDEV_TX_OK;
425 } 425 }
426 skb_put(skb, pad); 426 skb_put(skb, pad);
427 memset(skb->data + len, 0, pad); 427 memset(skb->data + len, 0, pad);
@@ -435,13 +435,13 @@ static int pvc_xmit(struct sk_buff *skb, struct net_device *dev)
435 dev->stats.tx_compressed++; 435 dev->stats.tx_compressed++;
436 skb->dev = pvc->frad; 436 skb->dev = pvc->frad;
437 dev_queue_xmit(skb); 437 dev_queue_xmit(skb);
438 return 0; 438 return NETDEV_TX_OK;
439 } 439 }
440 } 440 }
441 441
442 dev->stats.tx_dropped++; 442 dev->stats.tx_dropped++;
443 dev_kfree_skb(skb); 443 dev_kfree_skb(skb);
444 return 0; 444 return NETDEV_TX_OK;
445} 445}
446 446
447static inline void fr_log_dlci_active(pvc_device *pvc) 447static inline void fr_log_dlci_active(pvc_device *pvc)