Skip to contentSkip to conversation

cfg80211: remove double prototype

PATCH New Johannes Berg 1 participant 1 message May 8, 2012 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 cfg80211: remove double prototype

From: Johannes Berg <[email protected]>

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.

---
 net/wireless/core.h |    2 --
 1 file changed, 2 deletions(-)
net/wireless/core.h +0 -2
@@ -445,8 +445,6 @@ int cfg80211_set_freq(struct cfg80211_re
 		      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);