net80211: make ieee80211_alloc_node() private
authorBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 2 Oct 2023 13:57:45 +0000 (13:57 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 2 Oct 2023 14:05:03 +0000 (14:05 +0000)
commitdb195a523f9bbeb111b621d2c2c7a46d8b921631
tree273bad74e2001d51831f636a2b1b675c36bf3943
parent4ed35b7d1eb5dddfd04f574ac122651d532d2df9
net80211: make ieee80211_alloc_node() private

Looking through the allocation/free and reference cycle of nodes we have
a few (publicly) (almost) unused macros and functions.
Start making them private and reducing the amount of entry paths to the
same/similar functionality.
First is to make ieee80211_alloc_node() static as it is nowhere used
in the tree outside this file.

Sponsored by: The FreeBSD Foundation
X-MFC: no
sys/net80211/ieee80211_node.c
sys/net80211/ieee80211_node.h