aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smc911x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/smc911x.c')
-rw-r--r--drivers/net/smc911x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index bc4976ac8712..2a6b6de95339 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -553,7 +553,7 @@ static int smc911x_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
553 dev->stats.tx_dropped++; 553 dev->stats.tx_dropped++;
554 spin_unlock_irqrestore(&lp->lock, flags); 554 spin_unlock_irqrestore(&lp->lock, flags);
555 dev_kfree_skb(skb); 555 dev_kfree_skb(skb);
556 return 0; 556 return NETDEV_TX_OK;
557 } 557 }
558 558
559#ifdef SMC_USE_DMA 559#ifdef SMC_USE_DMA
@@ -566,7 +566,7 @@ static int smc911x_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
566 lp->pending_tx_skb = skb; 566 lp->pending_tx_skb = skb;
567 netif_stop_queue(dev); 567 netif_stop_queue(dev);
568 spin_unlock_irqrestore(&lp->lock, flags); 568 spin_unlock_irqrestore(&lp->lock, flags);
569 return 0; 569 return NETDEV_TX_OK;
570 } else { 570 } else {
571 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, "%s: Activating Tx DMA\n", dev->name); 571 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, "%s: Activating Tx DMA\n", dev->name);
572 lp->txdma_active = 1; 572 lp->txdma_active = 1;
@@ -577,7 +577,7 @@ static int smc911x_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
577 smc911x_hardware_send_pkt(dev); 577 smc911x_hardware_send_pkt(dev);
578 spin_unlock_irqrestore(&lp->lock, flags); 578 spin_unlock_irqrestore(&lp->lock, flags);
579 579
580 return 0; 580 return NETDEV_TX_OK;
581} 581}
582 582
583/* 583/*