提交 99783e2c 编写于 作者: J Johannes Berg 提交者: John W. Linville

mac80211: fix sparse warning

ieee80211_testmode_cmd can very well be static.
Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册