diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-03-10 14:39:52 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-11 22:55:09 -0800 |
commit | 2387834dd228c9efa60dbe118e0eff051033176b (patch) | |
tree | f7a0827d7f6eb6a3d2a5c7c3a67e07d2d5928627 /net/core/dev.c | |
parent | 8cf5ab362dce8acff7d2d28a967cdb2d8e9f7b13 (diff) | |
download | linux-2387834dd228c9efa60dbe118e0eff051033176b.tar.bz2 |
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>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 0 insertions, 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) { |