diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 66f484e72b69edb18179e372d66805b2cefbdcc0..3e5bf8a6ab7be9443b738c825ae8fed4093b6c8c 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2260,26 +2260,6 @@ static inline void *netdev_priv(const struct net_device *dev) void netif_napi_add(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int), int weight); -/** - * netif_threaded_napi_add - initialize a NAPI context - * @dev: network device - * @napi: NAPI context - * @poll: polling function - * @weight: default weight - * - * This variant of netif_napi_add() should be used from drivers using NAPI - * with CPU intensive poll functions. - * This will schedule polling from a high priority workqueue - */ -static inline void netif_threaded_napi_add(struct net_device *dev, - struct napi_struct *napi, - int (*poll)(struct napi_struct *, int), - int weight) -{ - set_bit(NAPI_STATE_THREADED, &napi->state); - netif_napi_add(dev, napi, poll, weight); -} - /** * netif_tx_napi_add - initialize a NAPI context * @dev: network device