mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
net: ehea NAPI interface cleanup fix
Commit 908a7a16b8
("net: Remove unused
netdev arg from some NAPI interfaces") missed two spots.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
bf66542bef
commit
c4c9f0183b
2 changed files with 2 additions and 2 deletions
|
@ -841,7 +841,7 @@ static int ehea_poll(struct napi_struct *napi, int budget)
|
|||
if (!cqe && !cqe_skb)
|
||||
return rx;
|
||||
|
||||
if (!netif_rx_reschedule(dev, napi))
|
||||
if (!netif_rx_reschedule(napi))
|
||||
return rx;
|
||||
|
||||
cqe_skb = ehea_proc_cqes(pr, EHEA_POLL_MAX_CQES);
|
||||
|
|
|
@ -1031,7 +1031,7 @@ static int ibmveth_poll(struct napi_struct *napi, int budget)
|
|||
netif_rx_complete(napi);
|
||||
|
||||
if (ibmveth_rxq_pending_buffer(adapter) &&
|
||||
netif_rx_reschedule(netdev, napi)) {
|
||||
netif_rx_reschedule(napi)) {
|
||||
lpar_rc = h_vio_signal(adapter->vdev->unit_address,
|
||||
VIO_IRQ_DISABLE);
|
||||
goto restart_poll;
|
||||
|
|
Loading…
Reference in a new issue