diff options
author | Mike McCormack <mikem@ring3k.org> | 2011-06-20 10:46:05 +0900 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-20 15:47:43 -0400 |
commit | 4b9d8d67b44aae18e1c4b71281f5cfc0f2105cf6 (patch) | |
tree | 7cc543a892d29f7a2f05ed629d4c8eb07b107f85 /drivers/net/wireless/rtlwifi/ps.h | |
parent | 9c0504403725ca77153a0bdad2f3bef0a05e32f0 (diff) | |
download | blackbird-op-linux-4b9d8d67b44aae18e1c4b71281f5cfc0f2105cf6.tar.gz blackbird-op-linux-4b9d8d67b44aae18e1c4b71281f5cfc0f2105cf6.zip |
rtlwifi: rtl8192cu: Remove unused parameter
rtl_ps_set_rf_state's protect_or_not parameter is not set to
true anywhere, except for commented out code.
It enables some legacy locking code, which is no longer used,
so delete the parameter and the old locking code.
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/ps.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/ps.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtlwifi/ps.h b/drivers/net/wireless/rtlwifi/ps.h index e3bf89840370..84628e6041c7 100644 --- a/drivers/net/wireless/rtlwifi/ps.h +++ b/drivers/net/wireless/rtlwifi/ps.h @@ -33,8 +33,7 @@ #define MAX_SW_LPS_SLEEP_INTV 5 bool rtl_ps_set_rf_state(struct ieee80211_hw *hw, - enum rf_pwrstate state_toset, u32 changesource, - bool protect_or_not); + enum rf_pwrstate state_toset, u32 changesource); bool rtl_ps_enable_nic(struct ieee80211_hw *hw); bool rtl_ps_disable_nic(struct ieee80211_hw *hw); void rtl_ips_nic_off(struct ieee80211_hw *hw); |