net: Remove redundant NAPI functions
Following the removal of the unused struct net_device * parameter from
the NAPI functions named *netif_rx_* in commit 908a7a1
, they are
exactly equivalent to the corresponding *napi_* functions and are
therefore redundant.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

zatwierdzone przez
David S. Miller

rodzic
627af770c6
commit
288379f050
@@ -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;
|
||||
|
Reference in New Issue
Block a user