[PATCH 1/2] staging: rtl8723bs: remove unused EEPROM definitions
From: Iñaki Sobera Sotomayor
Date: Tue Oct 06 2026 - 21:40:45 EST
RTL8712_EEPROM_ID, HWSET_MAX_SIZE_128, HWSET_MAX_SIZE_256, CLOCK_RATE
and the EEPROM_*_OPCODE macros are leftovers from the original vendor
driver. None of them is referenced anywhere in the tree, so drop them.
HWSET_MAX_SIZE_512 is left in place because EEPROM_MAX_SIZE expands to
it.
No functional change intended.
Signed-off-by: Iñaki Sobera Sotomayor <inakisobera8@xxxxxxxxx>
---
drivers/staging/rtl8723bs/include/rtw_eeprom.h | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/rtw_eeprom.h b/drivers/staging/rtl8723bs/include/rtw_eeprom.h
index 4294b021f1b..92eea3e2e70 100644
--- a/drivers/staging/rtl8723bs/include/rtw_eeprom.h
+++ b/drivers/staging/rtl8723bs/include/rtw_eeprom.h
@@ -8,24 +8,12 @@
#define __RTW_EEPROM_H__
-#define RTL8712_EEPROM_ID 0x8712
/* define EEPROM_MAX_SIZE 256 */
-#define HWSET_MAX_SIZE_128 128
-#define HWSET_MAX_SIZE_256 256
#define HWSET_MAX_SIZE_512 512
#define EEPROM_MAX_SIZE HWSET_MAX_SIZE_512
-#define CLOCK_RATE 50 /* 100us */
-
-/* EEPROM opcodes */
-#define EEPROM_READ_OPCODE 06
-#define EEPROM_WRITE_OPCODE 05
-#define EEPROM_ERASE_OPCODE 07
-#define EEPROM_EWEN_OPCODE 19 /* Erase/write enable */
-#define EEPROM_EWDS_OPCODE 16 /* Erase/write disable */
-
/* Country codes */
#define USA 0x555320
#define EUROPE 0x1 /* temp, should be provided later */
--
2.56.0