projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38bdb65
)
mac80211: remove unnecessary check in ieee80211_dump_survey
author
John W. Linville
<linville@tuxdriver.com>
Tue, 29 Jun 2010 17:55:04 +0000
(13:55 -0400)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 29 Jun 2010 17:55:04 +0000
(13:55 -0400)
This check is duplicated in drv_get_survey.
Reported-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 f4efbfa4f237e4fea71d00eb95b220c4dbb823d6..e55970bf2ba06f6afdb7d80988f5ffa77f51fffe 100644
(file)
--- a/
net/mac80211/cfg.c
+++ b/
net/mac80211/cfg.c
@@
-413,9
+413,6
@@
static int ieee80211_dump_survey(struct wiphy *wiphy, struct net_device *dev,
{
struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);
- if (!local->ops->get_survey)
- return -EOPNOTSUPP;
-
return drv_get_survey(local, idx, survey);
}