mirror of
https://github.com/torvalds/linux.git
synced 2026-10-11 04:47:02 +02:00
staging: rtl8723bs: remove unused EEPROMBluetoothType from hal_com_data
The value 'BT_RTL8723B' is written to this field, but it is not used in any other way, so remove it. Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com> Link: https://patch.msgid.link/20260710165220.68599-5-nikolayof23@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d307ee8c8b
commit
c9ecec2487
|
|
@ -1345,8 +1345,6 @@ void Hal_EfuseParseBTCoexistInfo_8723B(
|
|||
else
|
||||
pHalData->EEPROMBluetoothCoexist = false;
|
||||
|
||||
pHalData->EEPROMBluetoothType = BT_RTL8723B;
|
||||
|
||||
tempval = hwinfo[EEPROM_RF_BT_SETTING_8723B];
|
||||
if (tempval != 0xFF) {
|
||||
pHalData->EEPROMBluetoothAntNum = tempval & BIT(0);
|
||||
|
|
@ -1365,7 +1363,6 @@ void Hal_EfuseParseBTCoexistInfo_8723B(
|
|||
}
|
||||
} else {
|
||||
pHalData->EEPROMBluetoothCoexist = false;
|
||||
pHalData->EEPROMBluetoothType = BT_RTL8723B;
|
||||
pHalData->EEPROMBluetoothAntNum = Ant_x1;
|
||||
pHalData->ant_path = RF_PATH_A;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -164,7 +164,6 @@ struct hal_com_data {
|
|||
u8 EEPROMRegulatory;
|
||||
u8 EEPROMThermalMeter;
|
||||
u8 EEPROMBluetoothCoexist;
|
||||
u8 EEPROMBluetoothType;
|
||||
u8 EEPROMBluetoothAntNum;
|
||||
u8 bTXPowerDataReadFromEEPORM;
|
||||
u8 bDisableSWChannelPlan; /* flag of disable software change channel plan */
|
||||
|
|
|
|||
|
|
@ -60,8 +60,4 @@ enum {
|
|||
Ant_x1 = 1
|
||||
};
|
||||
|
||||
enum {
|
||||
BT_RTL8723B = 8,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user