net: r6040: Utilize __napi_schedule_irqoff
We are already in hard IRQ context, so we can use __napi_schedule_irqoff() to save a few operations. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
9507ffc2ac
Коммит
ffb5bce0bf
|
@ -690,7 +690,7 @@ static irqreturn_t r6040_interrupt(int irq, void *dev_id)
|
|||
if (likely(napi_schedule_prep(&lp->napi))) {
|
||||
/* Mask off RX interrupt */
|
||||
misr &= ~(RX_INTS | TX_INTS);
|
||||
__napi_schedule(&lp->napi);
|
||||
__napi_schedule_irqoff(&lp->napi);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче