Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4472037b authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c4f60846
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -445,8 +445,6 @@ int cfg80211_set_freq(struct cfg80211_registered_device *rdev,
		      struct wireless_dev *wdev, int freq,
		      struct wireless_dev *wdev, int freq,
		      enum nl80211_channel_type channel_type);
		      enum nl80211_channel_type channel_type);


u16 cfg80211_calculate_bitrate(struct rate_info *rate);

int ieee80211_get_ratemask(struct ieee80211_supported_band *sband,
int ieee80211_get_ratemask(struct ieee80211_supported_band *sband,
			   const u8 *rates, unsigned int n_rates,
			   const u8 *rates, unsigned int n_rates,
			   u32 *mask);
			   u32 *mask);