]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/mlx4/en_rx.c
net: Remove redundant NAPI functions
[net-next-2.6.git] / drivers / net / mlx4 / en_rx.c
index c61b0bdca1a433c33771784d88fb8f6eae3f092d..ac55ebd2f14637d68894993489b8aa4d107b4ade 100644 (file)
@@ -814,7 +814,7 @@ void mlx4_en_rx_irq(struct mlx4_cq *mcq)
        struct mlx4_en_priv *priv = netdev_priv(cq->dev);
 
        if (priv->port_up)
-               netif_rx_schedule(&cq->napi);
+               napi_schedule(&cq->napi);
        else
                mlx4_en_arm_cq(priv, cq);
 }
@@ -834,7 +834,7 @@ int mlx4_en_poll_rx_cq(struct napi_struct *napi, int budget)
                INC_PERF_COUNTER(priv->pstats.napi_quota);
        else {
                /* Done for now */
-               netif_rx_complete(napi);
+               napi_complete(napi);
                mlx4_en_arm_cq(priv, cq);
        }
        return done;