Skip to content

Commit

Permalink
net: remove netif_tx_napi_add()
Browse files Browse the repository at this point in the history
All callers are now gone.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jakub Kicinski authored and David S. Miller committed Sep 2, 2022
1 parent 977f1aa commit c3f760e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -2569,8 +2569,6 @@ netif_napi_add_tx_weight(struct net_device *dev,
netif_napi_add_weight(dev, napi, poll, weight);
}

#define netif_tx_napi_add netif_napi_add_tx_weight

/**
* netif_napi_add_tx() - initialize a NAPI context to be used for Tx only
* @dev: network device
Expand Down

0 comments on commit c3f760e

Please sign in to comment.