From: John Whitmore <johnfwhitmore@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org,
pombredanne@nexb.com, kstewart@linuxfoundation.org,
tglx@linutronix.de, John Whitmore <johnfwhitmore@gmail.com>
Subject: [PATCH 20/20] staging:rtl8192u: Remove unused RTL8258 bit mask definitions - Style
Date: Sun, 22 Jul 2018 23:10:35 +0100 [thread overview]
Message-ID: <20180722221035.14453-21-johnfwhitmore@gmail.com> (raw)
In-Reply-To: <20180722221035.14453-1-johnfwhitmore@gmail.com>
Remove the unused 'RTL8258' bit mask definitions. These definitions fail
the checkpatch CamelCase naming tests. Since the definitions are unused
in code they have been removed, rather then renaming.
This is a coding style change which should have no impact on runtime
code execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
---
drivers/staging/rtl8192u/r819xU_phyreg.h | 59 ------------------------
1 file changed, 59 deletions(-)
diff --git a/drivers/staging/rtl8192u/r819xU_phyreg.h b/drivers/staging/rtl8192u/r819xU_phyreg.h
index 708dae62c644..65ee6088324c 100644
--- a/drivers/staging/rtl8192u/r819xU_phyreg.h
+++ b/drivers/staging/rtl8192u/r819xU_phyreg.h
@@ -132,24 +132,10 @@
#define bZebra1_ChannelNum 0xf80
/* RTL8258 */
-#define bRTL8258_TxLPFBW 0xc
-#define bRTL8258_RxLPFBW 0xc00
-#define bRTL8258_RSSILPFBW 0xc0
-
-/* byte endable for sb_write */
-#define bByte0 0x1
-#define bByte1 0x2
-#define bByte2 0x4
-#define bByte3 0x8
-#define bWord0 0x3
-#define bWord1 0xc
-#define bDWord 0xf
-
/* for PutRegsetting & GetRegSetting BitMask */
#define bMaskByte0 0xff
#define bMaskByte1 0xff00
#define bMaskByte2 0xff0000
-#define bMaskByte3 0xff000000
#define bMaskHWord 0xffff0000
#define bMaskLWord 0x0000ffff
#define bMaskDWord 0xffffffff
@@ -157,49 +143,4 @@
/* for PutRFRegsetting & GetRFRegSetting BitMask */
#define bMask12Bits 0xfff
-#define bEnable 0x1
-#define bDisable 0x0
-
-#define LeftAntenna 0x0
-#define RightAntenna 0x1
-
-#define tCheckTxStatus 500 /* 500ms */
-#define tUpdateRxCounter 100 /* 100ms */
-
-#define rateCCK 0
-#define rateOFDM 1
-#define rateHT 2
-
-/* define Register-End */
-#define bPMAC_End 0x1ff
-#define bFPGAPHY0_End 0x8ff
-#define bFPGAPHY1_End 0x9ff
-#define bCCKPHY0_End 0xaff
-#define bOFDMPHY0_End 0xcff
-#define bOFDMPHY1_End 0xdff
-
-/* define max debug item in each debug page
- * #define bMaxItem_FPGA_PHY0 0x9
- * #define bMaxItem_FPGA_PHY1 0x3
- * #define bMaxItem_PHY_11B 0x16
- * #define bMaxItem_OFDM_PHY0 0x29
- * #define bMaxItem_OFDM_PHY1 0x0
- */
-
-#define bPMACControl 0x0
-#define bWMACControl 0x1
-#define bWNICControl 0x2
-
-#define PathA 0x0
-#define PathB 0x1
-#define PathC 0x2
-#define PathD 0x3
-
-#define rRTL8256RxMixerPole 0xb
-#define bZebraRxMixerPole 0x6
-#define rRTL8256TxBBOPBias 0x9
-#define bRTL8256TxBBOPBias 0x400
-#define rRTL8256TxBBBW 19
-#define bRTL8256TxBBBW 0x18
-
#endif /* __INC_HAL8190PCIPHYREG_H */
--
2.18.0
prev parent reply other threads:[~2018-07-22 22:11 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-22 22:10 [PATCH 00/20] staging:rtl8192u: Remove unused " John Whitmore
2018-07-22 22:10 ` [PATCH 01/20] staging:rtl8192u: Remove unused page 1 " John Whitmore
2018-07-22 22:10 ` [PATCH 02/20] staging:rtl8192u: Remove unused page 8 " John Whitmore
2018-07-22 22:10 ` [PATCH 03/20] staging:rtl8192u: Remove unused page 9 " John Whitmore
2018-07-22 22:10 ` [PATCH 04/20] staging:rtl8192u: Remove unused page a " John Whitmore
2018-07-22 22:10 ` [PATCH 05/20] staging:rtl8192u: Remove unused page c " John Whitmore
2018-07-22 22:10 ` [PATCH 06/20] staging:rtl8192u: Remove unused page d " John Whitmore
2018-07-22 22:10 ` [PATCH 07/20] staging:rtl8192u: Remove unused Zebra1 " John Whitmore
2018-07-22 22:10 ` [PATCH 08/20] staging:rtl8192u: Remove unused Zebra4 " John Whitmore
2018-07-22 22:10 ` [PATCH 09/20] staging:rtl8192u: Remove unused RTL8258 " John Whitmore
2018-07-22 22:10 ` [PATCH 10/20] staging:rtl8192u: Remove unused page-1 Bit Masks " John Whitmore
2018-07-22 22:10 ` [PATCH 11/20] staging:rtl8192u: Remove unused page-8 Bit Mask definitions " John Whitmore
2018-07-22 22:10 ` [PATCH 12/20] staging:rtl8192u: Remove unused page-9 " John Whitmore
2018-07-22 22:10 ` [PATCH 13/20] staging:rtl8192u: Remove unused page-a " John Whitmore
2018-07-22 22:10 ` [PATCH 14/20] staging:rtl8192u: Remove unused page c " John Whitmore
2018-07-22 22:10 ` [PATCH 15/20] staging:rtl8192u: Remove unused page d " John Whitmore
2018-07-22 22:10 ` [PATCH 16/20] staging:rtl8192u: Remove unused page e " John Whitmore
2018-07-22 22:10 ` [PATCH 17/20] staging:rtl8192u: Remove unused Rx Pseduo noise Bit Mask defs " John Whitmore
2018-07-22 22:10 ` [PATCH 18/20] staging:rtl8192u: Remove unused RF Zebra1 Bit Mask definitions " John Whitmore
2018-07-22 22:10 ` [PATCH 19/20] staging:rtl8192u: Remove unused Zebra4 bit mask " John Whitmore
2018-07-22 22:10 ` John Whitmore [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180722221035.14453-21-johnfwhitmore@gmail.com \
--to=johnfwhitmore@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kstewart@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pombredanne@nexb.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome