[PATCH 12/20] staging:rtl8192u: Remove unused page-9 Bit Mask definitions - Style

John Whitmore johnfwhitmore at gmail.com
Sun Jul 22 22:10:27 UTC 2018


Remove the unused page-9 Bit Mask definitions. These definitions fail
the checkpatch CamelCase naming tests. Since the definitions are unused
in code they have simply been removed, rather then renaming. The change
is purely a coding style change and should not impact runtime code
execution.

Signed-off-by: John Whitmore <johnfwhitmore at gmail.com>
---
 drivers/staging/rtl8192u/r819xU_phyreg.h | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/drivers/staging/rtl8192u/r819xU_phyreg.h b/drivers/staging/rtl8192u/r819xU_phyreg.h
index 211f34359e43..53beef72ceda 100644
--- a/drivers/staging/rtl8192u/r819xU_phyreg.h
+++ b/drivers/staging/rtl8192u/r819xU_phyreg.h
@@ -120,19 +120,6 @@
 #define bLSSIReadBackData			0xfff
 #define bXtalCap					0x0f000000
 
-/* page-9 */
-#define bOFDMTxSC				0x30000000
-#define bCCKTxOn					0x1
-#define bOFDMTxOn				0x2
-#define bDebugPage				0xfff  /* reset debug page and also HWord, LWord */
-#define bDebugItem				0xff   /* reset debug page and LWord */
-#define bAntL					0x10
-#define bAntNonHT					0x100
-#define bAntHT1					0x1000
-#define bAntHT2						0x10000
-#define bAntHT1S1					0x100000
-#define bAntNonHTS1				0x1000000
-
 /* page-a */
 #define bCCKBBMode				0x3
 #define bCCKTxPowerSaving			0x80
-- 
2.18.0



More information about the devel mailing list