From c9ecec2487649b3eb7398dfde74c192a0b541be9 Mon Sep 17 00:00:00 2001 From: Nikolay Kulikov Date: Fri, 10 Jul 2026 19:51:11 +0300 Subject: [PATCH] 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 Link: https://patch.msgid.link/20260710165220.68599-5-nikolayof23@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 3 --- drivers/staging/rtl8723bs/include/hal_data.h | 1 - drivers/staging/rtl8723bs/include/hal_pg.h | 4 ---- 3 files changed, 8 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c index 20ee21c83500..a4149ba47069 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c @@ -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; } diff --git a/drivers/staging/rtl8723bs/include/hal_data.h b/drivers/staging/rtl8723bs/include/hal_data.h index 0a25688de041..f4d4127ed5a1 100644 --- a/drivers/staging/rtl8723bs/include/hal_data.h +++ b/drivers/staging/rtl8723bs/include/hal_data.h @@ -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 */ diff --git a/drivers/staging/rtl8723bs/include/hal_pg.h b/drivers/staging/rtl8723bs/include/hal_pg.h index 3362b349904d..32e66fe451b0 100644 --- a/drivers/staging/rtl8723bs/include/hal_pg.h +++ b/drivers/staging/rtl8723bs/include/hal_pg.h @@ -60,8 +60,4 @@ enum { Ant_x1 = 1 }; -enum { - BT_RTL8723B = 8, -}; - #endif