mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
staging: r8188eu: remove two write-only hal components
RegTxPause and RegBcnCtrlVal from struct hal_data_8188e are set but never read. Remove them. Acked-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20211005200821.19783-5-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
4864ad2200
commit
fdfd6fabb5
@@ -556,8 +556,6 @@ static void _InitBeaconParameters(struct adapter *Adapter)
|
||||
/* beacause test chip does not contension before sending beacon. by tynli. 2009.11.03 */
|
||||
rtw_write16(Adapter, REG_BCNTCFG, 0x660F);
|
||||
|
||||
haldata->RegBcnCtrlVal = rtw_read8(Adapter, REG_BCN_CTRL);
|
||||
haldata->RegTxPause = rtw_read8(Adapter, REG_TXPAUSE);
|
||||
haldata->RegFwHwTxQCtrl = rtw_read8(Adapter, REG_FWHW_TXQ_CTRL + 2);
|
||||
haldata->RegReg542 = rtw_read8(Adapter, REG_TBTT_PROHIBIT + 2);
|
||||
haldata->RegCR_1 = rtw_read8(Adapter, REG_CR + 1);
|
||||
|
||||
@@ -307,9 +307,6 @@ struct hal_data_8188e {
|
||||
u8 LastHMEBoxNum;
|
||||
|
||||
u8 fw_ractrl;
|
||||
u8 RegTxPause;
|
||||
/* Beacon function related global variable. */
|
||||
u32 RegBcnCtrlVal;
|
||||
u8 RegFwHwTxQCtrl;
|
||||
u8 RegReg542;
|
||||
u8 RegCR_1;
|
||||
|
||||
Reference in New Issue
Block a user