mac80211: fix sparse warning
Johannes Berg
maintainerPATCH 1/1 mac80211: fix sparse warning
ieee80211_testmode_cmd can very well be static.
Signed-off-by Johannes Berg <[email protected]>
--- net/mac80211/cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac80211/cfg.c +1 -1
@@ -1289,7 +1289,7 @@ static void ieee80211_rfkill_poll(struct }#ifdef CONFIG_NL80211_TESTMODE -int ieee80211_testmode_cmd (struct wiphy *wiphy,void *data,int len) +static int ieee80211_testmode_cmd (struct wiphy *wiphy,void *data,int len) {struct ieee80211_local *local =wiphy_priv (wiphy);