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:
committed by
David S. Miller
parent
627af770c6
commit
288379f050
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user