summaryrefslogtreecommitdiffstats
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-05-08 21:23:54 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-05-16 18:46:33 +0200
commit4472037be86a9d7d1cab37e0c4cb310997a140ae (patch)
tree771c269f3cf2088be0c86e7df7c5e3345bf9e657 /net/wireless/core.h
parentNet: wireless: core.c: fixed checkpatch warnings (diff)
downloadlinux-4472037be86a9d7d1cab37e0c4cb310997a140ae.tar.xz
linux-4472037be86a9d7d1cab37e0c4cb310997a140ae.zip
cfg80211: remove double prototype
cfg80211_calculate_bitrate() is defined in the external header file cfg80211.h now, so no need to keep it in the internal one as well. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r--net/wireless/core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index 3ac2dd00d714..8523f3878677 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -445,8 +445,6 @@ int cfg80211_set_freq(struct cfg80211_registered_device *rdev,
struct wireless_dev *wdev, int freq,
enum nl80211_channel_type channel_type);
-u16 cfg80211_calculate_bitrate(struct rate_info *rate);
-
int ieee80211_get_ratemask(struct ieee80211_supported_band *sband,
const u8 *rates, unsigned int n_rates,
u32 *mask);