diff options
-rw-r--r-- | drivers/net/ethernet/freescale/asf_gianfar.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/ethernet/freescale/asf_gianfar.c b/drivers/net/ethernet/freescale/asf_gianfar.c index 5280ed9..f6f89a3 100644 --- a/drivers/net/ethernet/freescale/asf_gianfar.c +++ b/drivers/net/ethernet/freescale/asf_gianfar.c @@ -207,15 +207,8 @@ int gfar_asf_start_xmit(struct sk_buff *skb, struct net_device *dev) do { lstatus = txbdp->lstatus; if ((lstatus & BD_LFLAG(TXBD_READY))) { - u32 imask; /* BD not free for tx */ - netif_tx_stop_queue(txq); dev->stats.tx_fifo_errors++; - spin_lock_irq(&tx_queue->grp->grplock); - imask = gfar_read(®s->imask); - imask |= IMASK_TX_DEFAULT; - gfar_write(®s->imask, imask); - spin_unlock_irq(&tx_queue->grp->grplock); return NETDEV_TX_BUSY; } |