net: Remove redundant NAPI functions
[deliverable/linux.git] / drivers / net / sfc / efx.c
index 7673fd92eaf5f15f413ecd50d56f914d5de078c7..77aca5d67b57a6066872a73137c70a9417e40a2f 100644 (file)
@@ -225,11 +225,11 @@ static int efx_poll(struct napi_struct *napi, int budget)
 
        if (rx_packets < budget) {
                /* There is no race here; although napi_disable() will
-                * only wait for netif_rx_complete(), this isn't a problem
+                * only wait for napi_complete(), this isn't a problem
                 * since efx_channel_processed() will have no effect if
                 * interrupts have already been disabled.
                 */
-               netif_rx_complete(napi);
+               napi_complete(napi);
                efx_channel_processed(channel);
        }
 
This page took 0.025616 seconds and 5 git commands to generate.