summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-07-20 12:32:52 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-07-20 16:49:38 -0400
commit20925feee9e46c07ffe315b88c5cee61064a3ede (patch)
tree748eac8f78783258fc1219f011829059b85beb22
parent2ea6fb6d1eb4d06af5ad2114d1f1f22a6067adac (diff)
downloadlinux-20925feee9e46c07ffe315b88c5cee61064a3ede.tar.gz
linux-20925feee9e46c07ffe315b88c5cee61064a3ede.tar.bz2
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.c2
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;