mirror of
https://github.com/torvalds/linux.git
synced 2026-07-29 02:31:27 +02:00
staging: rtl8723bs: remove unused CUTVersion from struct hal_version
Remove the 'CUTVersion' field from 'struct hal_version', which is read during initialization but is never used anywhere in the driver. Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com> Link: https://patch.msgid.link/20260502220056.59815-7-nikolayof23@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6d9e3c5ac7
commit
12a431a95d
|
|
@ -836,7 +836,6 @@ static struct hal_version ReadChipVersion8723B(struct adapter *padapter)
|
|||
|
||||
value32 = rtw_read32(padapter, REG_SYS_CFG);
|
||||
ChipVersion.chip_normal = ((value32 & RTL_ID) ? false : true);
|
||||
ChipVersion.CUTVersion = (value32 & CHIP_VER_RTL_MASK)>>CHIP_VER_RTL_SHIFT; /* IC version (CUT) */
|
||||
|
||||
/* For regulator mode. by tynli. 2011.01.14 */
|
||||
pHalData->RegulatorMode = ((value32 & SPS_SEL) ? RT_LDO_REGULATOR : RT_SWITCHING_REGULATOR);
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ enum hal_vendor_e { /* tag_HAL_Manufacturer_Version_Definition */
|
|||
|
||||
struct hal_version { /* tag_HAL_VERSION */
|
||||
bool chip_normal; /* true - normal chip, false - test chip */
|
||||
enum hal_cut_version_e CUTVersion;
|
||||
u8 ROMVer;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user