summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-11-08 11:07:28 -0800
committerDavid S. Miller <davem@davemloft.net>2016-11-09 21:16:05 -0500
commit149d6ad83663b4820ca09c9d40b1eea7f5c22c2b (patch)
treea1d1a0ff76852329888ddb1d5aafb0cf38e985c8 /include/linux
parentef8d759b5251ee9d6784fe53d90220bd91ee477f (diff)
downloadop-kernel-dev-149d6ad83663b4820ca09c9d40b1eea7f5c22c2b.zip
op-kernel-dev-149d6ad83663b4820ca09c9d40b1eea7f5c22c2b.tar.gz
net: napi_hash_add() is no longer exported
There are no more users except from net/core/dev.c napi_hash_add() can now be static. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netdevice.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 66fd61c..d64135a 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -468,17 +468,6 @@ static inline void napi_complete(struct napi_struct *n)
}
/**
- * napi_hash_add - add a NAPI to global hashtable
- * @napi: NAPI context
- *
- * Generate a new napi_id and store a @napi under it in napi_hash.
- * Used for busy polling (CONFIG_NET_RX_BUSY_POLL).
- * Note: This is normally automatically done from netif_napi_add(),
- * so might disappear in a future Linux version.
- */
-void napi_hash_add(struct napi_struct *napi);
-
-/**
* napi_hash_del - remove a NAPI from global table
* @napi: NAPI context
*
OpenPOWER on IntegriCloud