aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/hd64570.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/hd64570.c')
-rw-r--r--drivers/net/wan/hd64570.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/hd64570.c b/drivers/net/wan/hd64570.c
index 1ea1ef6c3b96..80114c93bae7 100644
--- a/drivers/net/wan/hd64570.c
+++ b/drivers/net/wan/hd64570.c
@@ -620,7 +620,7 @@ static void sca_dump_rings(struct net_device *dev)
620#endif /* DEBUG_RINGS */ 620#endif /* DEBUG_RINGS */
621 621
622 622
623static int sca_xmit(struct sk_buff *skb, struct net_device *dev) 623static netdev_tx_t sca_xmit(struct sk_buff *skb, struct net_device *dev)
624{ 624{
625 port_t *port = dev_to_port(dev); 625 port_t *port = dev_to_port(dev);
626 card_t *card = port_to_card(port); 626 card_t *card = port_to_card(port);
@@ -674,7 +674,7 @@ static int sca_xmit(struct sk_buff *skb, struct net_device *dev)
674 spin_unlock_irq(&port->lock); 674 spin_unlock_irq(&port->lock);
675 675
676 dev_kfree_skb(skb); 676 dev_kfree_skb(skb);
677 return 0; 677 return NETDEV_TX_OK;
678} 678}
679 679
680 680