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:
Stephen Rothwell 2008-12-29 10:46:13 +11:00 committed by Linus Torvalds
parent bf66542bef
commit c4c9f0183b
2 changed files with 2 additions and 2 deletions

View File

@ -841,7 +841,7 @@ static int ehea_poll(struct napi_struct *napi, int budget)
if (!cqe && !cqe_skb) if (!cqe && !cqe_skb)
return rx; return rx;
if (!netif_rx_reschedule(dev, napi)) if (!netif_rx_reschedule(napi))
return rx; return rx;
cqe_skb = ehea_proc_cqes(pr, EHEA_POLL_MAX_CQES); cqe_skb = ehea_proc_cqes(pr, EHEA_POLL_MAX_CQES);

View File

@ -1031,7 +1031,7 @@ static int ibmveth_poll(struct napi_struct *napi, int budget)
netif_rx_complete(napi); netif_rx_complete(napi);
if (ibmveth_rxq_pending_buffer(adapter) && if (ibmveth_rxq_pending_buffer(adapter) &&
netif_rx_reschedule(netdev, napi)) { netif_rx_reschedule(napi)) {
lpar_rc = h_vio_signal(adapter->vdev->unit_address, lpar_rc = h_vio_signal(adapter->vdev->unit_address,
VIO_IRQ_DISABLE); VIO_IRQ_DISABLE);
goto restart_poll; goto restart_poll;