mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
aeroflex/greth: use napi_complete_done()
We plan to remove __napi_complete() soon, this driver is the last user. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3d1a6333d9
commit
32e19300a4
1 changed files with 1 additions and 1 deletions
|
@ -1008,7 +1008,7 @@ static int greth_poll(struct napi_struct *napi, int budget)
|
|||
spin_unlock_irqrestore(&greth->devlock, flags);
|
||||
goto restart_txrx_poll;
|
||||
} else {
|
||||
__napi_complete(napi);
|
||||
napi_complete_done(napi, work_done);
|
||||
spin_unlock_irqrestore(&greth->devlock, flags);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue