diff options
author | Priit Laes <plaes@plaes.org> | 2015-03-11 23:03:27 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-03-16 18:55:41 +0300 |
commit | 52f119ddea412af870fb84412c0f7832e85c7663 (patch) | |
tree | 7737d7a4cd7edb9780cb765d68ce488bfd64d33e /drivers/net/wireless/rtlwifi/stats.c | |
parent | 54fb66d6fe98c75d5cb0b0487f0e2b00cb412be7 (diff) | |
download | linux-52f119ddea412af870fb84412c0f7832e85c7663.tar.xz |
rtlwifi: No need to export rtl_evm_dbm_jaguar anymore
This function is used only by rtl8821ae so move it there
Signed-off-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/stats.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/stats.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/wireless/rtlwifi/stats.c b/drivers/net/wireless/rtlwifi/stats.c index 4201d7340d49..d8b30690b00d 100644 --- a/drivers/net/wireless/rtlwifi/stats.c +++ b/drivers/net/wireless/rtlwifi/stats.c @@ -48,21 +48,6 @@ u8 rtl_evm_db_to_percentage(char value) } EXPORT_SYMBOL(rtl_evm_db_to_percentage); -u8 rtl_evm_dbm_jaguar(char value) -{ - char ret_val = value; - - /* -33dB~0dB to 33dB ~ 0dB*/ - if (ret_val == -128) - ret_val = 127; - else if (ret_val < 0) - ret_val = 0 - ret_val; - - ret_val = ret_val >> 1; - return ret_val; -} -EXPORT_SYMBOL(rtl_evm_dbm_jaguar); - static long rtl_translate_todbm(struct ieee80211_hw *hw, u8 signal_strength_index) { |