projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74d1541
)
mac80211: fix sparse warning
author
Johannes Berg
<johannes@sipsolutions.net>
Tue, 7 Jul 2009 01:54:43 +0000
(
03:54
+0200)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:01 +0000
(15:05 -0400)
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>
net/mac80211/cfg.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/cfg.c
b/net/mac80211/cfg.c
index 36f8f245fa4c83c8fb80e4dcd197d09c63d65c64..52928ad90570a51058fbe8dd769ad91704daede5 100644
(file)
--- a/
net/mac80211/cfg.c
+++ b/
net/mac80211/cfg.c
@@
-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);