rtlwifi: rtl8188ee: Remove set but not used variable 'h2c_parameter'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c: In function rtl88e_dm_pwdb_monitor:
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c:763:6: warning: variable h2c_parameter set but not used [-Wunused-but-set-variable]
It is not used since commit f1d2b4d338
("rtlwifi:
rtl818x: Move drivers into new realtek directory")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
925942b5da
commit
073f8138f5
|
@ -759,14 +759,8 @@ static void rtl88e_dm_pwdb_monitor(struct ieee80211_hw *hw)
|
|||
rtlpriv->dm.entry_min_undec_sm_pwdb = 0;
|
||||
}
|
||||
/* Indicate Rx signal strength to FW. */
|
||||
if (rtlpriv->dm.useramask) {
|
||||
u8 h2c_parameter[3] = { 0 };
|
||||
|
||||
h2c_parameter[2] = (u8)(rtlpriv->dm.undec_sm_pwdb & 0xFF);
|
||||
h2c_parameter[0] = 0x20;
|
||||
} else {
|
||||
if (!rtlpriv->dm.useramask)
|
||||
rtl_write_byte(rtlpriv, 0x4fe, rtlpriv->dm.undec_sm_pwdb);
|
||||
}
|
||||
}
|
||||
|
||||
void rtl88e_dm_init_edca_turbo(struct ieee80211_hw *hw)
|
||||
|
|
Loading…
Reference in New Issue