mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 01/20] staging:rtl8192u: Remove unused page 1 definitions - Style
Date: Sun, 22 Jul 2018 23:10:16 +0100	[thread overview]
Message-ID: <20180722221035.14453-2-johnfwhitmore@gmail.com> (raw)
In-Reply-To: <20180722221035.14453-1-johnfwhitmore@gmail.com>

Remove all the "page 1" definitions as they are not used in code.

A lot of these definitions, if not all, fail checkpatch because of
CamelCase issues. Rather then change the names of unused constants
simply remove. This is a coding style change which should have no
impact on runtime execution.

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

diff --git a/drivers/staging/rtl8192u/r819xU_phyreg.h b/drivers/staging/rtl8192u/r819xU_phyreg.h
index c058a9537526..437f3bfcc399 100644
--- a/drivers/staging/rtl8192u/r819xU_phyreg.h
+++ b/drivers/staging/rtl8192u/r819xU_phyreg.h
@@ -5,37 +5,6 @@
 
 #define   RF_DATA				0x1d4					/* FW will write RF data in the register.*/
 
-/* Register duplicate register due to connection: RF_Mode, TRxRN, NumOf L-STF
- * page 1
- */
-#define rPMAC_Reset				0x100
-#define rPMAC_TxStart				0x104
-#define rPMAC_TxLegacySIG			0x108
-#define rPMAC_TxHTSIG1				0x10c
-#define rPMAC_TxHTSIG2				0x110
-#define rPMAC_PHYDebug				0x114
-#define rPMAC_TxPacketNum			0x118
-#define rPMAC_TxIdle				0x11c
-#define rPMAC_TxMACHeader0		0x120
-#define rPMAC_TxMACHeader1		0x124
-#define rPMAC_TxMACHeader2		0x128
-#define rPMAC_TxMACHeader3		0x12c
-#define rPMAC_TxMACHeader4		0x130
-#define rPMAC_TxMACHeader5		0x134
-#define rPMAC_TxDataType			0x138
-#define rPMAC_TxRandomSeed			0x13c
-#define rPMAC_CCKPLCPPreamble		0x140
-#define rPMAC_CCKPLCPHeader			0x144
-#define rPMAC_CCKCRC16				0x148
-#define rPMAC_OFDMRxCRC32OK		0x170
-#define rPMAC_OFDMRxCRC32Er		0x174
-#define rPMAC_OFDMRxParityEr			0x178
-#define rPMAC_OFDMRxCRC8Er		0x17c
-#define rPMAC_CCKCRxRC16Er			0x180
-#define rPMAC_CCKCRxRC32Er			0x184
-#define rPMAC_CCKCRxRC32OK			0x188
-#define rPMAC_TxStatus				0x18c
-
 /* page8 */
 #define rFPGA0_RFMOD				0x800  /* RF mode & CCK TxSC */
 #define rFPGA0_TxInfo				0x804
-- 
2.18.0


  reply	other threads:[~2018-07-22 22:10 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 ` John Whitmore [this message]
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 ` [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-2-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