projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d1a633
)
aeroflex/greth: use napi_complete_done()
author
Eric Dumazet
<edumazet@google.com>
Sat, 4 Feb 2017 23:25:01 +0000
(15:25 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 5 Feb 2017 21:11:57 +0000
(16:11 -0500)
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>
drivers/net/ethernet/aeroflex/greth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/aeroflex/greth.c
b/drivers/net/ethernet/aeroflex/greth.c
index 93def92f999703d234b44508725f45863ef39a18..9f7422ada704e9484b79d336ece46a0547667abb 100644
(file)
--- 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);
}
}