From a0f6ec3a0a3017b37746f4a11ed83aa2f9fd3025 Mon Sep 17 00:00:00 2001 From: Oskar Viljasaar <oskar.viljasaar@iopsys.eu> Date: Tue, 19 Jan 2021 22:04:12 +0100 Subject: [PATCH] fixup --- include/linux/netdevice.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 66f484e72b..3e5bf8a6ab 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 -- GitLab