[PATCH] staging: rtl8723bs: remove unused EF2Byte and EF4Byte definitions

Dipesh Chaudhary posted 1 patch 1 week, 5 days ago
drivers/staging/rtl8723bs/include/basic_types.h | 2 --
1 file changed, 2 deletions(-)
[PATCH] staging: rtl8723bs: remove unused EF2Byte and EF4Byte definitions
Posted by Dipesh Chaudhary 1 week, 5 days ago

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@dipeshchaudhary.in>
---
 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