mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
staging: rtl8723bs: hal: remove unused readings from the chip
These values are read from the chip but never used. Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com> Link: https://patch.msgid.link/20260717185407.56513-6-nikolayof23@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
24d2ac4d6c
commit
1a8969a6a1
|
|
@ -860,11 +860,8 @@ void rtl8723b_InitBeaconParameters(struct adapter *padapter)
|
|||
/* because test chip does not contension before sending beacon. by tynli. 2009.11.03 */
|
||||
rtw_write16(padapter, REG_BCNTCFG, BCNTCFG_8723B);
|
||||
|
||||
pHalData->RegBcnCtrlVal = rtw_read8(padapter, REG_BCN_CTRL);
|
||||
pHalData->RegTxPause = rtw_read8(padapter, REG_TXPAUSE);
|
||||
pHalData->RegFwHwTxQCtrl = rtw_read8(padapter, REG_FWHW_TXQ_CTRL+2);
|
||||
pHalData->RegReg542 = rtw_read8(padapter, REG_TBTT_PROHIBIT+2);
|
||||
pHalData->RegCR_1 = rtw_read8(padapter, REG_CR+1);
|
||||
}
|
||||
|
||||
void _InitBurstPktLen_8723BS(struct adapter *Adapter)
|
||||
|
|
|
|||
|
|
@ -223,12 +223,9 @@ struct hal_com_data {
|
|||
u8 LastHMEBoxNum;
|
||||
|
||||
u8 fw_ractrl;
|
||||
u8 RegTxPause;
|
||||
/* Beacon function related global variable. */
|
||||
u8 RegBcnCtrlVal;
|
||||
u8 RegFwHwTxQCtrl;
|
||||
u8 RegReg542;
|
||||
u8 RegCR_1;
|
||||
u16 RegRRSR;
|
||||
|
||||
u8 CurAntenna;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user