OSDN Git Service

net: remove netif_tx_napi_add()
authorJakub Kicinski <kuba@kernel.org>
Thu, 1 Sep 2022 00:00:58 +0000 (17:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Sep 2022 11:41:43 +0000 (12:41 +0100)
All callers are now gone.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h

index cfe41c0..f0068c1 100644 (file)
@@ -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