mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 07:34:03 -04:00
staging: rtl8192e: Remove unused variable bIPSModeBackup
bIPSModeBackup is just once initialized and never used. Remove resulting dead code. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/657035f84d266fd5c6f96e9b530a96c2ab4ff900.1664616227.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e779962613
commit
3700c365b6
@@ -886,7 +886,6 @@ static void _rtl92e_init_priv_variable(struct net_device *dev)
|
||||
priv->rf_change_in_progress = false;
|
||||
priv->bHwRfOffAction = 0;
|
||||
priv->SetRFPowerStateInProgress = false;
|
||||
priv->rtllib->PowerSaveControl.bIPSModeBackup = false;
|
||||
priv->rtllib->PowerSaveControl.bLeisurePs = true;
|
||||
priv->rtllib->LPSDelayCnt = 0;
|
||||
priv->rtllib->sta_sleep = LPS_IS_WAKE;
|
||||
|
||||
@@ -1250,7 +1250,6 @@ enum rt_rf_power_state {
|
||||
};
|
||||
|
||||
struct rt_pwr_save_ctrl {
|
||||
bool bIPSModeBackup;
|
||||
bool bSwRfProcessing;
|
||||
enum rt_rf_power_state eInactivePowerState;
|
||||
enum ips_callback_function ReturnPoint;
|
||||
|
||||
Reference in New Issue
Block a user