Commit 5f0b6923 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

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: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent adeef3e3
...@@ -513,7 +513,6 @@ void dev_addr_flush(struct net_device *dev) ...@@ -513,7 +513,6 @@ void dev_addr_flush(struct net_device *dev)
__hw_addr_flush(&dev->dev_addrs); __hw_addr_flush(&dev->dev_addrs);
dev->dev_addr = NULL; dev->dev_addr = NULL;
} }
EXPORT_SYMBOL(dev_addr_flush);
/** /**
* dev_addr_init - Init device address list * dev_addr_init - Init device address list
...@@ -547,7 +546,6 @@ int dev_addr_init(struct net_device *dev) ...@@ -547,7 +546,6 @@ int dev_addr_init(struct net_device *dev)
} }
return err; return err;
} }
EXPORT_SYMBOL(dev_addr_init);
void dev_addr_mod(struct net_device *dev, unsigned int offset, void dev_addr_mod(struct net_device *dev, unsigned int offset,
const void *addr, size_t len) const void *addr, size_t len)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment