Skip to content

Commit

Permalink
net: unexport dev_addr_init() & dev_addr_flush()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jakub Kicinski authored and David S. Miller committed Nov 20, 2021
1 parent adeef3e commit 5f0b692
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/core/dev_addr_lists.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5f0b692

Please sign in to comment.