aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/via-ircc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/via-ircc.c')
-rw-r--r--drivers/net/irda/via-ircc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/irda/via-ircc.c b/drivers/net/irda/via-ircc.c
index 864798502ff9..62ba94ba7c9e 100644
--- a/drivers/net/irda/via-ircc.c
+++ b/drivers/net/irda/via-ircc.c
@@ -844,7 +844,7 @@ static int via_ircc_hard_xmit_sir(struct sk_buff *skb,
844 via_ircc_change_speed(self, speed); 844 via_ircc_change_speed(self, speed);
845 dev->trans_start = jiffies; 845 dev->trans_start = jiffies;
846 dev_kfree_skb(skb); 846 dev_kfree_skb(skb);
847 return 0; 847 return NETDEV_TX_OK;
848 } else 848 } else
849 self->new_speed = speed; 849 self->new_speed = speed;
850 } 850 }
@@ -892,7 +892,7 @@ static int via_ircc_hard_xmit_sir(struct sk_buff *skb,
892 dev->trans_start = jiffies; 892 dev->trans_start = jiffies;
893 spin_unlock_irqrestore(&self->lock, flags); 893 spin_unlock_irqrestore(&self->lock, flags);
894 dev_kfree_skb(skb); 894 dev_kfree_skb(skb);
895 return 0; 895 return NETDEV_TX_OK;
896} 896}
897 897
898static int via_ircc_hard_xmit_fir(struct sk_buff *skb, 898static int via_ircc_hard_xmit_fir(struct sk_buff *skb,
@@ -907,7 +907,7 @@ static int via_ircc_hard_xmit_fir(struct sk_buff *skb,
907 iobase = self->io.fir_base; 907 iobase = self->io.fir_base;
908 908
909 if (self->st_fifo.len) 909 if (self->st_fifo.len)
910 return 0; 910 return NETDEV_TX_OK;
911 if (self->chip_id == 0x3076) 911 if (self->chip_id == 0x3076)
912 iodelay(1500); 912 iodelay(1500);
913 else 913 else
@@ -919,7 +919,7 @@ static int via_ircc_hard_xmit_fir(struct sk_buff *skb,
919 via_ircc_change_speed(self, speed); 919 via_ircc_change_speed(self, speed);
920 dev->trans_start = jiffies; 920 dev->trans_start = jiffies;
921 dev_kfree_skb(skb); 921 dev_kfree_skb(skb);
922 return 0; 922 return NETDEV_TX_OK;
923 } else 923 } else
924 self->new_speed = speed; 924 self->new_speed = speed;
925 } 925 }
@@ -940,7 +940,7 @@ static int via_ircc_hard_xmit_fir(struct sk_buff *skb,
940 dev->trans_start = jiffies; 940 dev->trans_start = jiffies;
941 dev_kfree_skb(skb); 941 dev_kfree_skb(skb);
942 spin_unlock_irqrestore(&self->lock, flags); 942 spin_unlock_irqrestore(&self->lock, flags);
943 return 0; 943 return NETDEV_TX_OK;
944 944
945} 945}
946 946