Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32e19300 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

aeroflex/greth: use napi_complete_done()



We plan to remove __napi_complete() soon,
this driver is the last user.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3d1a6333
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
		}
	}