[PATCH] staging: rtl8723bs: remove unused EF2Byte and EF4Byte definitions
From: Dipesh Chaudhary
Date: Sun Sep 13 2026 - 04:04:46 EST
The EF2Byte and EF4Byte macros are defined as le16_to_cpu and
le32_to_cpu respectively in basic_types.h, but are never referenced
anywhere in this driver or the rest of the kernel tree. Remove these
unused definitions to clean up dead code as noted in the driver's
TODO file.
Signed-off-by: Dipesh Chaudhary <me@xxxxxxxxxxxxxxxxxx>
---
drivers/staging/rtl8723bs/include/basic_types.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/basic_types.h b/drivers/staging/rtl8723bs/include/basic_types.h
index aaa1e60f4..b4dde1fb4 100644
--- a/drivers/staging/rtl8723bs/include/basic_types.h
+++ b/drivers/staging/rtl8723bs/include/basic_types.h
@@ -29,8 +29,6 @@
/* Byte Swapping routine. */
/* */
#define EF1Byte (u8)
-#define EF2Byte le16_to_cpu
-#define EF4Byte le32_to_cpu
/* Convert little data endian to host ordering */
#define EF1BYTE(_val) \
--
2.39.5