From fca6a0c2dfa4f69c68d3eb8838c083a87d225255 Mon Sep 17 00:00:00 2001 From: proski Date: Wed, 1 Apr 2009 19:34:57 +0000 Subject: [PATCH] Make ieee80211_free_node() static It should not be visible outside ieee80211_node.c git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3960 0192ed92-7a03-0410-a25b-9323aeb14dbd --- net80211/ieee80211_node.c | 3 +-- net80211/ieee80211_node.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/net80211/ieee80211_node.c b/net80211/ieee80211_node.c index 506a77c..4991f04 100644 --- a/net80211/ieee80211_node.c +++ b/net80211/ieee80211_node.c @@ -1384,7 +1384,7 @@ ieee80211_find_txnode(struct ieee80211vap *vap, const u_int8_t *mac) EXPORT_SYMBOL(ieee80211_find_txnode); /* Context: hwIRQ, softIRQ and process context. */ -void +static void ieee80211_free_node(struct ieee80211_node *ni) { struct ieee80211vap *vap = ni->ni_vap; @@ -1402,7 +1402,6 @@ ieee80211_free_node(struct ieee80211_node *ni) vap->iv_ic->ic_node_free(ni); } -EXPORT_SYMBOL(ieee80211_free_node); static void _reset_node(void *arg, struct ieee80211_node *ni) { diff --git a/net80211/ieee80211_node.h b/net80211/ieee80211_node.h index bada5bc..03f8253 100644 --- a/net80211/ieee80211_node.h +++ b/net80211/ieee80211_node.h @@ -276,8 +276,6 @@ struct ieee80211_node *ieee80211_find_rxnode(struct ieee80211com *, struct ieee80211_node *ieee80211_find_txnode(struct ieee80211vap *, const u_int8_t *); -void ieee80211_free_node(struct ieee80211_node *ni); - /* Reference counting only needs to be locked out against the transitions, * 0->1 and 1->0 (i.e., when we do not own the reference we are getting). * This only happens when finding the a node reference from the node table, -- 2.35.1