mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
mac80211: fix sparse warning
ieee80211_testmode_cmd can very well be static. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
1 parent
74d154189d
commit
99783e2cde
1 file changed
+1
-1
+1
-1
@@ -1293,7 +1293,7 @@ static void ieee80211_rfkill_poll(struct wiphy *wiphy)
|
||||
}
|
||||
|
||||
#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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user