net: ehea NAPI interface cleanup fix
authorStephen Rothwell <sfr@canb.auug.org.au>
Sun, 28 Dec 2008 23:46:13 +0000 (10:46 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Dec 2008 00:32:38 +0000 (16:32 -0800)
Commit 908a7a16b852ffd618a9127be8d62432182d81b4 ("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>
drivers/net/ehea/ehea_main.c
drivers/net/ibmveth.c

index 035aa7d..a2f1905 100644 (file)
@@ -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);
index 1f055a9..9bc0f17 100644 (file)
@@ -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;