diff options
-rw-r--r-- | drivers/net/mv643xx_eth.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index af279f26c407..8a91d79383dd 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -509,10 +509,8 @@ static void rxq_refill(struct rx_queue *rxq) | |||
509 | skb_reserve(skb, 2); | 509 | skb_reserve(skb, 2); |
510 | } | 510 | } |
511 | 511 | ||
512 | if (rxq->rx_desc_count != rxq->rx_ring_size) { | 512 | if (rxq->rx_desc_count != rxq->rx_ring_size) |
513 | rxq->rx_oom.expires = jiffies + (HZ / 10); | 513 | mod_timer(&rxq->rx_oom, jiffies + (HZ / 10)); |
514 | add_timer(&rxq->rx_oom); | ||
515 | } | ||
516 | 514 | ||
517 | spin_unlock_irqrestore(&mp->lock, flags); | 515 | spin_unlock_irqrestore(&mp->lock, flags); |
518 | } | 516 | } |