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 10/20] staging:rtl8192u: Remove unused page-1 Bit Masks - Style
Date: Sun, 22 Jul 2018 23:10:25 +0100 [thread overview]
Message-ID: <20180722221035.14453-11-johnfwhitmore@gmail.com> (raw)
In-Reply-To: <20180722221035.14453-1-johnfwhitmore@gmail.com>
Remove the unused 'page-1' Bit Masks. These definitions fail the
checkpatch CamelCase naming test. To avoid renaming the definitions
have simply been removed. 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 | 48 +-----------------------
1 file changed, 1 insertion(+), 47 deletions(-)
diff --git a/drivers/staging/rtl8192u/r819xU_phyreg.h b/drivers/staging/rtl8192u/r819xU_phyreg.h
index 5352ae64ab97..fb0b388f6759 100644
--- a/drivers/staging/rtl8192u/r819xU_phyreg.h
+++ b/drivers/staging/rtl8192u/r819xU_phyreg.h
@@ -105,54 +105,8 @@
#define rGlobalCtrl 0
/* Bit Mask
- * page-1
+ * page-8
*/
-#define bBBResetB 0x100
-#define bGlobalResetB 0x200
-#define bOFDMTxStart 0x4
-#define bCCKTxStart 0x8
-#define bCRC32Debug 0x100
-#define bPMACLoopback 0x10
-#define bTxLSIG 0xffffff
-#define bOFDMTxRate 0xf
-#define bOFDMTxReserved 0x10
-#define bOFDMTxLength 0x1ffe0
-#define bOFDMTxParity 0x20000
-#define bTxHTSIG1 0xffffff
-#define bTxHTMCSRate 0x7f
-#define bTxHTBW 0x80
-#define bTxHTLength 0xffff00
-#define bTxHTSIG2 0xffffff
-#define bTxHTSmoothing 0x1
-#define bTxHTSounding 0x2
-#define bTxHTReserved 0x4
-#define bTxHTAggreation 0x8
-#define bTxHTSTBC 0x30
-#define bTxHTAdvanceCoding 0x40
-#define bTxHTShortGI 0x80
-#define bTxHTNumberHT_LTF 0x300
-#define bTxHTCRC8 0x3fc00
-#define bCounterReset 0x10000
-#define bNumOfOFDMTx 0xffff
-#define bNumOfCCKTx 0xffff0000
-#define bTxIdleInterval 0xffff
-#define bOFDMService 0xffff0000
-#define bTxMACHeader 0xffffffff
-#define bTxDataInit 0xff
-#define bTxHTMode 0x100
-#define bTxDataType 0x30000
-#define bTxRandomSeed 0xffffffff
-#define bCCKTxPreamble 0x1
-#define bCCKTxSFD 0xffff0000
-#define bCCKTxSIG 0xff
-#define bCCKTxService 0xff00
-#define bCCKLengthExt 0x8000
-#define bCCKTxLength 0xffff0000
-#define bCCKTxCRC16 0xffff
-#define bCCKTxStatus 0x1
-#define bOFDMTxStatus 0x2
-
-/* page-8 */
#define bRFMOD 0x1
#define bJapanMode 0x2
#define bCCKTxSC 0x30
--
2.18.0
next 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 definitions " 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 ` John Whitmore [this message]
2018-07-22 22:10 ` [PATCH 11/20] staging:rtl8192u: Remove unused page-8 Bit Mask " 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 ` [PATCH 20/20] staging:rtl8192u: Remove unused RTL8258 " John Whitmore
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-11-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