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. Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20220310223952.558779-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
8cf5ab362d
commit
2387834dd2
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user