wireless: mark cfg80211_is_all_idle as static
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Jul 2010 16:32:52 +0000 (12:32 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Jul 2010 20:49:38 +0000 (16:49 -0400)
  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>
net/wireless/sme.c

index 72222f0074dbd4b24914386b85e02257d499941d..a8c2d6b877aeda894cb80328d015bc3494e000c9 100644 (file)
@@ -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;