Commit 99783e2c authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

mac80211: fix sparse warning

ieee80211_testmode_cmd can very well be static.
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 74d15418
...@@ -1293,7 +1293,7 @@ static void ieee80211_rfkill_poll(struct wiphy *wiphy) ...@@ -1293,7 +1293,7 @@ static void ieee80211_rfkill_poll(struct wiphy *wiphy)
} }
#ifdef CONFIG_NL80211_TESTMODE #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); struct ieee80211_local *local = wiphy_priv(wiphy);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment