diff options
Diffstat (limited to 'drivers/net/yellowfin.c')
| -rw-r--r-- | drivers/net/yellowfin.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/yellowfin.c b/drivers/net/yellowfin.c index d831dfca097..0f773a9a3ff 100644 --- a/drivers/net/yellowfin.c +++ b/drivers/net/yellowfin.c @@ -944,8 +944,8 @@ static irqreturn_t yellowfin_interrupt(int irq, void *dev_instance)  			dev_kfree_skb_irq(skb);  			yp->tx_skbuff[entry] = NULL;  		} -		if (yp->tx_full -			&& yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) { +		if (yp->tx_full && +		    yp->cur_tx - yp->dirty_tx < TX_QUEUE_SIZE - 4) {  			/* The ring is no longer full, clear tbusy. */  			yp->tx_full = 0;  			netif_wake_queue(dev); @@ -1014,8 +1014,8 @@ static irqreturn_t yellowfin_interrupt(int irq, void *dev_instance)  			}  #endif -			if (yp->tx_full -				&& yp->cur_tx - dirty_tx < TX_QUEUE_SIZE - 2) { +			if (yp->tx_full && +			    yp->cur_tx - dirty_tx < TX_QUEUE_SIZE - 2) {  				/* The ring is no longer full, clear tbusy. */  				yp->tx_full = 0;  				netif_wake_queue(dev);  |