Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Johannes Berg and committed by
John W. Linville
4472037b c4f60846

-2
-2
net/wireless/core.h
··· 445 445 struct wireless_dev *wdev, int freq, 446 446 enum nl80211_channel_type channel_type); 447 447 448 - u16 cfg80211_calculate_bitrate(struct rate_info *rate); 449 - 450 448 int ieee80211_get_ratemask(struct ieee80211_supported_band *sband, 451 449 const u8 *rates, unsigned int n_rates, 452 450 u32 *mask);