net80211: remove ieee80211_unref_node()
authorBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 2 Oct 2023 14:30:46 +0000 (14:30 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 5 Oct 2023 14:28:55 +0000 (14:28 +0000)
commit1137943b1c5b225e30b82350ff7fb12c258ea90f
tree29a531a35d036e3f5107a900a864071be9219ed6
parent7d48224073ce14f0dd3db2d4e96876ac928b52f2
net80211: remove ieee80211_unref_node()

ieee80211_unref_node() was only used in two error cases in
ieee80211_send_nulldata().  There we do not need to guard against
ni pointer reuse after decrementing the refcount of the ni as we
only update the stats and return.

Update the man page and remove the link for the now gone function.

Sponsored by: The FreeBSD Foundation
X-MFC: never
Reviewed by: adrian, emaste
Differential Revision: https://reviews.freebsd.org/D42035
ObsoleteFiles.inc
share/man/man9/Makefile
share/man/man9/ieee80211_node.9
sys/net80211/ieee80211_node.h
sys/net80211/ieee80211_output.c