mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
netpoll: remove __netpoll_cleanup from exported API
Since commit 97714695ef ("net: netconsole: Defer netpoll cleanup to
avoid lock release during list traversal"), netconsole no longer uses
__netpoll_cleanup(). With no remaining users, remove this function
from the exported netpoll API.
The function remains available internally within netpoll for use by
netpoll_cleanup().
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20250613-rework-v3-1-0752bf2e6912@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
e9a7795e75
commit
260948993a
|
|
@ -69,7 +69,6 @@ void netpoll_print_options(struct netpoll *np);
|
|||
int netpoll_parse_options(struct netpoll *np, char *opt);
|
||||
int __netpoll_setup(struct netpoll *np, struct net_device *ndev);
|
||||
int netpoll_setup(struct netpoll *np);
|
||||
void __netpoll_cleanup(struct netpoll *np);
|
||||
void __netpoll_free(struct netpoll *np);
|
||||
void netpoll_cleanup(struct netpoll *np);
|
||||
void do_netpoll_cleanup(struct netpoll *np);
|
||||
|
|
|
|||
|
|
@ -863,7 +863,7 @@ static void rcu_cleanup_netpoll_info(struct rcu_head *rcu_head)
|
|||
kfree(npinfo);
|
||||
}
|
||||
|
||||
void __netpoll_cleanup(struct netpoll *np)
|
||||
static void __netpoll_cleanup(struct netpoll *np)
|
||||
{
|
||||
struct netpoll_info *npinfo;
|
||||
|
||||
|
|
@ -885,7 +885,6 @@ void __netpoll_cleanup(struct netpoll *np)
|
|||
|
||||
skb_pool_flush(np);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__netpoll_cleanup);
|
||||
|
||||
void __netpoll_free(struct netpoll *np)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user