Commit 007d4271 authored by Eric Dumazet's avatar Eric Dumazet Committed by Jakub Kicinski

netpoll: do not export netpoll_poll_[disable|enable]()

netpoll_poll_disable() and netpoll_poll_enable() are only used
from core networking code, there is no need to export them.
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240820162053.3870927-1-edumazet@google.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent f8669d7b
...@@ -228,7 +228,6 @@ void netpoll_poll_disable(struct net_device *dev) ...@@ -228,7 +228,6 @@ void netpoll_poll_disable(struct net_device *dev)
down(&ni->dev_lock); down(&ni->dev_lock);
srcu_read_unlock(&netpoll_srcu, idx); srcu_read_unlock(&netpoll_srcu, idx);
} }
EXPORT_SYMBOL(netpoll_poll_disable);
void netpoll_poll_enable(struct net_device *dev) void netpoll_poll_enable(struct net_device *dev)
{ {
...@@ -239,7 +238,6 @@ void netpoll_poll_enable(struct net_device *dev) ...@@ -239,7 +238,6 @@ void netpoll_poll_enable(struct net_device *dev)
up(&ni->dev_lock); up(&ni->dev_lock);
rcu_read_unlock(); rcu_read_unlock();
} }
EXPORT_SYMBOL(netpoll_poll_enable);
static void refill_skbs(void) static void refill_skbs(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment