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>
This commit is contained in:

committed by
David S. Miller

parent
ef8d759b52
commit
149d6ad836
@@ -467,17 +467,6 @@ static inline void napi_complete(struct napi_struct *n)
|
||||
return napi_complete_done(n, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
Reference in New Issue
Block a user