]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/irda/irlan/irlan_eth.c
net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions
[mirror_ubuntu-artful-kernel.git] / net / irda / irlan / irlan_eth.c
index 724bcf951b806b4fcf277599ce6de6bccfc09ef4..64230cffcfee112c7a1f31629744e8e2ef8a6d01 100644 (file)
@@ -177,7 +177,7 @@ static int irlan_eth_xmit(struct sk_buff *skb, struct net_device *dev)
 
                /* Did the realloc succeed? */
                if (new_skb == NULL)
-                       return 0;
+                       return NETDEV_TX_OK;
 
                /* Use the new skb instead */
                skb = new_skb;
@@ -209,7 +209,7 @@ static int irlan_eth_xmit(struct sk_buff *skb, struct net_device *dev)
                self->stats.tx_bytes += skb->len;
        }
 
-       return 0;
+       return NETDEV_TX_OK;
 }
 
 /*