diff options
author | Zhao, Gang <gamerh2o@gmail.com> | 2014-04-09 05:28:06 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-10 12:06:19 +0400 |
commit | 96998e3a2f6aeb6e7d91f6b1ced98d4b903d75fd (patch) | |
tree | d57029884d2dbd6708af3ec16e029038c6b23523 /net/wireless/wext-compat.h | |
parent | aa51142fc5dee212ddcdab274b50cd541b7f2c49 (diff) | |
download | linux-96998e3a2f6aeb6e7d91f6b1ced98d4b903d75fd.tar.xz |
cfg80211: remove unused wiphy argument from cfg80211_wext_freq()
cfg80211_wext_freq() is declared in wext-compat.h, but its
parameter struct wiphy's declaration is not included there.
As the parameter isn't used, just remove it.
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
[remove parameter instead of changing to netdev]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/wext-compat.h')
-rw-r--r-- | net/wireless/wext-compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/wext-compat.h b/net/wireless/wext-compat.h index 5d766b0118e8..ebcacca2f731 100644 --- a/net/wireless/wext-compat.h +++ b/net/wireless/wext-compat.h @@ -50,7 +50,7 @@ int cfg80211_wext_siwgenie(struct net_device *dev, struct iw_point *data, char *extra); -int cfg80211_wext_freq(struct wiphy *wiphy, struct iw_freq *freq); +int cfg80211_wext_freq(struct iw_freq *freq); extern const struct iw_handler_def cfg80211_wext_handler; |