* [PATCH net-next] net: remove exports for netdev_name_node_alt_create() and destroy
@ 2022-03-10 22:39 Jakub Kicinski
2022-03-11 4:33 ` David Ahern
2022-03-12 7:00 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Jakub Kicinski @ 2022-03-10 22:39 UTC (permalink / raw)
To: davem; +Cc: netdev, dsahern, Jakub Kicinski
netdev_name_node_alt_create() and netdev_name_node_alt_destroy()
are only called by rtnetlink, so no need for exports.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
net/core/dev.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index ba69ddf85af6..7ed27c178a1f 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -340,7 +340,6 @@ int netdev_name_node_alt_create(struct net_device *dev, const char *name)
return 0;
}
-EXPORT_SYMBOL(netdev_name_node_alt_create);
static void __netdev_name_node_alt_destroy(struct netdev_name_node *name_node)
{
@@ -368,7 +367,6 @@ int netdev_name_node_alt_destroy(struct net_device *dev, const char *name)
return 0;
}
-EXPORT_SYMBOL(netdev_name_node_alt_destroy);
static void netdev_name_node_alt_flush(struct net_device *dev)
{
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: remove exports for netdev_name_node_alt_create() and destroy
2022-03-10 22:39 [PATCH net-next] net: remove exports for netdev_name_node_alt_create() and destroy Jakub Kicinski
@ 2022-03-11 4:33 ` David Ahern
2022-03-12 7:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: David Ahern @ 2022-03-11 4:33 UTC (permalink / raw)
To: Jakub Kicinski, davem; +Cc: netdev
On 3/10/22 3:39 PM, Jakub Kicinski wrote:
> netdev_name_node_alt_create() and netdev_name_node_alt_destroy()
> are only called by rtnetlink, so no need for exports.
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
> ---
> net/core/dev.c | 2 --
> 1 file changed, 2 deletions(-)
>
Reviewed-by: David Ahern <dsahern@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: remove exports for netdev_name_node_alt_create() and destroy
2022-03-10 22:39 [PATCH net-next] net: remove exports for netdev_name_node_alt_create() and destroy Jakub Kicinski
2022-03-11 4:33 ` David Ahern
@ 2022-03-12 7:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-03-12 7:00 UTC (permalink / raw)
To: Jakub Kicinski; +Cc: davem, netdev, dsahern
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 10 Mar 2022 14:39:52 -0800 you wrote:
> netdev_name_node_alt_create() and netdev_name_node_alt_destroy()
> are only called by rtnetlink, so no need for exports.
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
> ---
> net/core/dev.c | 2 --
> 1 file changed, 2 deletions(-)
Here is the summary with links:
- [net-next] net: remove exports for netdev_name_node_alt_create() and destroy
https://git.kernel.org/netdev/net-next/c/2387834dd228
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-12 7:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-10 22:39 [PATCH net-next] net: remove exports for netdev_name_node_alt_create() and destroy Jakub Kicinski
2022-03-11 4:33 ` David Ahern
2022-03-12 7:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).