summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-02-05 02:25:01 +0300
committerDavid S. Miller <davem@davemloft.net>2017-02-06 00:11:57 +0300
commit32e19300a4f6705e79354cdadac3b2ef3cd0c309 (patch)
treeda9c2fe4a905848376792d45220c66173e045a1b /drivers
parent3d1a6333d90167f2b196f2cc0c2a988a10eb76c5 (diff)
downloadlinux-32e19300a4f6705e79354cdadac3b2ef3cd0c309.tar.xz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/aeroflex/greth.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}