projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ea6fb6
)
wireless: mark cfg80211_is_all_idle as static
author
John W. Linville
<linville@tuxdriver.com>
Tue, 20 Jul 2010 16:32:52 +0000
(12:32 -0400)
committer
John 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
patch
|
blob
|
history
diff --git
a/net/wireless/sme.c
b/net/wireless/sme.c
index
72222f0
..
a8c2d6b
100644
(file)
--- 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;