aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/sir_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/sir_dev.c')
-rw-r--r--drivers/net/irda/sir_dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/irda/sir_dev.c b/drivers/net/irda/sir_dev.c
index fd0796c3db3c..bde004f0a7a3 100644
--- a/drivers/net/irda/sir_dev.c
+++ b/drivers/net/irda/sir_dev.c
@@ -621,7 +621,7 @@ static int sirdev_hard_xmit(struct sk_buff *skb, struct net_device *ndev)
621 */ 621 */
622 622
623 dev_kfree_skb_any(skb); 623 dev_kfree_skb_any(skb);
624 return 0; 624 return NETDEV_TX_OK;
625 } else 625 } else
626 dev->new_speed = speed; 626 dev->new_speed = speed;
627 } 627 }
@@ -668,7 +668,7 @@ static int sirdev_hard_xmit(struct sk_buff *skb, struct net_device *ndev)
668 } 668 }
669 spin_unlock_irqrestore(&dev->tx_lock, flags); 669 spin_unlock_irqrestore(&dev->tx_lock, flags);
670 670
671 return 0; 671 return NETDEV_TX_OK;
672} 672}
673 673
674/* called from network layer with rtnl hold */ 674/* called from network layer with rtnl hold */