diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-11-19 06:21:52 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-20 12:25:57 +0000 |
commit | 5f0b69238427f19a20063e90486754b1ea3ccd3b (patch) | |
tree | a8a6eb9f0520f8d044e4ce40f95843bfad9a93fa | |
parent | adeef3e32146a8d2a73c399dc6f5d76a449131b1 (diff) |
net: unexport dev_addr_init() & dev_addr_flush()
There are no module callers in-tree and it's hard to justify
why anyone would init or flush addresses of a netdev (note
the flush is more of a destructor, it frees netdev->dev_addr).
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/core/dev_addr_lists.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c index ae8b1ef00fec..a23a83ac18e5 100644 --- a/net/core/dev_addr_lists.c +++ b/net/core/dev_addr_lists.c @@ -513,7 +513,6 @@ void dev_addr_flush(struct net_device *dev) __hw_addr_flush(&dev->dev_addrs); dev->dev_addr = NULL; } -EXPORT_SYMBOL(dev_addr_flush); /** * dev_addr_init - Init device address list @@ -547,7 +546,6 @@ int dev_addr_init(struct net_device *dev) } return err; } -EXPORT_SYMBOL(dev_addr_init); void dev_addr_mod(struct net_device *dev, unsigned int offset, const void *addr, size_t len) |