From: Eric Dumazet Date: Sat, 4 Feb 2017 23:25:01 +0000 (-0800) Subject: aeroflex/greth: use napi_complete_done() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32e19300a4f6705e79354cdadac3b2ef3cd0c309;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git aeroflex/greth: use napi_complete_done() We plan to remove __napi_complete() soon, this driver is the last user. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/aeroflex/greth.c b/drivers/net/ethernet/aeroflex/greth.c index 93def92f9997..9f7422ada704 100644 --- a/drivers/net/ethernet/aeroflex/greth.c +++ b/drivers/net/ethernet/aeroflex/greth.c @@ -1008,7 +1008,7 @@ restart_txrx_poll: 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); } }