diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-07-20 18:32:52 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-20 22:49:38 +0200 |
commit | 20925feee9e46c07ffe315b88c5cee61064a3ede (patch) | |
tree | 748eac8f78783258fc1219f011829059b85beb22 | |
parent | wireless: correct sparse warning in generated regdb.c (diff) | |
download | linux-20925feee9e46c07ffe315b88c5cee61064a3ede.tar.xz linux-20925feee9e46c07ffe315b88c5cee61064a3ede.zip |
wireless: mark cfg80211_is_all_idle as static
CHECK net/wireless/sme.c
net/wireless/sme.c:38:6: warning: symbol 'cfg80211_is_all_idle' was not declared. Should it be static?
It is not used elsewhere, so mark it static.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | net/wireless/sme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c index 72222f0074db..a8c2d6b877ae 100644 --- a/net/wireless/sme.c +++ b/net/wireless/sme.c @@ -35,7 +35,7 @@ struct cfg80211_conn { bool auto_auth, prev_bssid_valid; }; -bool cfg80211_is_all_idle(void) +static bool cfg80211_is_all_idle(void) { struct cfg80211_registered_device *rdev; struct wireless_dev *wdev; |