net: Remove redundant NAPI functions
[deliverable/linux.git] / drivers / net / fs_enet / fs_enet-main.c
index ce900e54d8d1dfa7db79e016472c7ce4996631c1..b037ce9857bf57e325a664adc0d6063bca993536 100644 (file)
@@ -209,7 +209,7 @@ static int fs_enet_rx_napi(struct napi_struct *napi, int budget)
 
        if (received < budget) {
                /* done */
-               netif_rx_complete(napi);
+               napi_complete(napi);
                (*fep->ops->napi_enable_rx)(dev);
        }
        return received;
@@ -478,7 +478,7 @@ fs_enet_interrupt(int irq, void *dev_id)
                                /* NOTE: it is possible for FCCs in NAPI mode    */
                                /* to submit a spurious interrupt while in poll  */
                                if (napi_ok)
-                                       __netif_rx_schedule(&fep->napi);
+                                       __napi_schedule(&fep->napi);
                        }
                }
 
This page took 0.030911 seconds and 5 git commands to generate.