diff options
Diffstat (limited to 'drivers/net/tehuti.c')
-rw-r--r-- | drivers/net/tehuti.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/tehuti.c b/drivers/net/tehuti.c index a7a4dc4d6313..be9f38f8f0bf 100644 --- a/drivers/net/tehuti.c +++ b/drivers/net/tehuti.c | |||
@@ -265,8 +265,8 @@ static irqreturn_t bdx_isr_napi(int irq, void *dev) | |||
265 | bdx_isr_extra(priv, isr); | 265 | bdx_isr_extra(priv, isr); |
266 | 266 | ||
267 | if (isr & (IR_RX_DESC_0 | IR_TX_FREE_0)) { | 267 | if (isr & (IR_RX_DESC_0 | IR_TX_FREE_0)) { |
268 | if (likely(netif_rx_schedule_prep(&priv->napi))) { | 268 | if (likely(napi_schedule_prep(&priv->napi))) { |
269 | __netif_rx_schedule(&priv->napi); | 269 | __napi_schedule(&priv->napi); |
270 | RET(IRQ_HANDLED); | 270 | RET(IRQ_HANDLED); |
271 | } else { | 271 | } else { |
272 | /* NOTE: we get here if intr has slipped into window | 272 | /* NOTE: we get here if intr has slipped into window |
@@ -302,7 +302,7 @@ static int bdx_poll(struct napi_struct *napi, int budget) | |||
302 | * device lock and allow waiting tasks (eg rmmod) to advance) */ | 302 | * device lock and allow waiting tasks (eg rmmod) to advance) */ |
303 | priv->napi_stop = 0; | 303 | priv->napi_stop = 0; |
304 | 304 | ||
305 | netif_rx_complete(napi); | 305 | napi_complete(napi); |
306 | bdx_enable_interrupts(priv); | 306 | bdx_enable_interrupts(priv); |
307 | } | 307 | } |
308 | return work_done; | 308 | return work_done; |