diff options
author | Eric Dumazet <edumazet@google.com> | 2024-08-20 18:20:53 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-22 02:31:28 +0200 |
commit | 007d4271a5f10638cba6f0b99698557ef30014b9 (patch) | |
tree | e92bcd044fcf300d4f159fe94d58db34965296a0 /net | |
parent | selftests: mlxsw: ethtool_lanes: Source ethtool lib from correct path (diff) | |
download | linux-007d4271a5f10638cba6f0b99698557ef30014b9.tar.xz linux-007d4271a5f10638cba6f0b99698557ef30014b9.zip |
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: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240820162053.3870927-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/netpoll.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 55bcacf67df3..d657b042d5a0 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -228,7 +228,6 @@ void netpoll_poll_disable(struct net_device *dev) down(&ni->dev_lock); srcu_read_unlock(&netpoll_srcu, idx); } -EXPORT_SYMBOL(netpoll_poll_disable); void netpoll_poll_enable(struct net_device *dev) { @@ -239,7 +238,6 @@ void netpoll_poll_enable(struct net_device *dev) up(&ni->dev_lock); rcu_read_unlock(); } -EXPORT_SYMBOL(netpoll_poll_enable); static void refill_skbs(void) { |