net: remove exports for netdev_name_node_alt_create() and destroy
Subsystems (2)
Jakub Kicinski
maintainerPATCH 1/1 net: remove exports for netdev_name_node_alt_create() and destroy
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 <[email protected]>
--- net/core/dev.c | 2 -- 1 file changed, 2 deletions(-)
net/core/dev.c +0 -2
@@ -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) {
Signature · 1 line
2.34.1
Quoted 8 lines · Jakub Kicinski
netdev_name_node_alt_create()andnetdev_name_node_alt_destroy()are only called by rtnetlink, so no need for exports.Signed-off-by Jakub Kicinski <[email protected]>--- net/core/dev.c | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by David Ahern <[email protected]>
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Thu, 10 Mar 2022 14:39:52 -0800 you wrote:
netdev_name_node_alt_create()andnetdev_name_node_alt_destroy()are only called by rtnetlink, so no need for exports.Signed-off-by Jakub Kicinski <[email protected]>--- 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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html