aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/ali-ircc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/ali-ircc.c')
-rw-r--r--drivers/net/irda/ali-ircc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/irda/ali-ircc.c b/drivers/net/irda/ali-ircc.c
index ad1795580028..709835782443 100644
--- a/drivers/net/irda/ali-ircc.c
+++ b/drivers/net/irda/ali-ircc.c
@@ -1466,7 +1466,7 @@ static int ali_ircc_fir_hard_xmit(struct sk_buff *skb, struct net_device *dev)
1466 dev->trans_start = jiffies; 1466 dev->trans_start = jiffies;
1467 spin_unlock_irqrestore(&self->lock, flags); 1467 spin_unlock_irqrestore(&self->lock, flags);
1468 dev_kfree_skb(skb); 1468 dev_kfree_skb(skb);
1469 return 0; 1469 return NETDEV_TX_OK;
1470 } else 1470 } else
1471 self->new_speed = speed; 1471 self->new_speed = speed;
1472 } 1472 }
@@ -1577,7 +1577,7 @@ static int ali_ircc_fir_hard_xmit(struct sk_buff *skb, struct net_device *dev)
1577 dev_kfree_skb(skb); 1577 dev_kfree_skb(skb);
1578 1578
1579 IRDA_DEBUG(1, "%s(), ----------------- End ------------------\n", __func__ ); 1579 IRDA_DEBUG(1, "%s(), ----------------- End ------------------\n", __func__ );
1580 return 0; 1580 return NETDEV_TX_OK;
1581} 1581}
1582 1582
1583 1583
@@ -1991,7 +1991,7 @@ static int ali_ircc_sir_hard_xmit(struct sk_buff *skb, struct net_device *dev)
1991 dev->trans_start = jiffies; 1991 dev->trans_start = jiffies;
1992 spin_unlock_irqrestore(&self->lock, flags); 1992 spin_unlock_irqrestore(&self->lock, flags);
1993 dev_kfree_skb(skb); 1993 dev_kfree_skb(skb);
1994 return 0; 1994 return NETDEV_TX_OK;
1995 } else 1995 } else
1996 self->new_speed = speed; 1996 self->new_speed = speed;
1997 } 1997 }
@@ -2015,7 +2015,7 @@ static int ali_ircc_sir_hard_xmit(struct sk_buff *skb, struct net_device *dev)
2015 2015
2016 IRDA_DEBUG(2, "%s(), ----------------- End ------------------\n", __func__ ); 2016 IRDA_DEBUG(2, "%s(), ----------------- End ------------------\n", __func__ );
2017 2017
2018 return 0; 2018 return NETDEV_TX_OK;
2019} 2019}
2020 2020
2021 2021