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 15/20] staging:rtl8192u: Remove unused page d Bit Mask definitions - Style
Date: Sun, 22 Jul 2018 23:10:30 +0100 [thread overview]
Message-ID: <20180722221035.14453-16-johnfwhitmore@gmail.com> (raw)
In-Reply-To: <20180722221035.14453-1-johnfwhitmore@gmail.com>
Remove the unused 'page d' Bit Mask definitions. These definitions will
fail the checkpatch CamelCase naming test. Since the definitions are
unused in code they have been removed, rather then renaming.
This is a coding style change which should not impact runtime code
execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
---
drivers/staging/rtl8192u/r819xU_phyreg.h | 107 -----------------------
1 file changed, 107 deletions(-)
diff --git a/drivers/staging/rtl8192u/r819xU_phyreg.h b/drivers/staging/rtl8192u/r819xU_phyreg.h
index b0bcef2e73a6..671fd35297d5 100644
--- a/drivers/staging/rtl8192u/r819xU_phyreg.h
+++ b/drivers/staging/rtl8192u/r819xU_phyreg.h
@@ -123,113 +123,6 @@
/* page-a */
#define bCCKSideBand 0x10
-/* page d */
-#define bSTBCEn 0x4
-#define bAntennaMapping 0x10
-#define bNss 0x20
-#define bCFOAntSumD 0x200
-#define bPHYCounterReset 0x8000000
-#define bCFOReportGet 0x4000000
-#define bOFDMContinueTx 0x10000000
-#define bOFDMSingleCarrier 0x20000000
-#define bOFDMSingleTone 0x40000000
-/* #define bRxPath1 0x01
- * #define bRxPath2 0x02
- * #define bRxPath3 0x04
- * #define bRxPath4 0x08
- * #define bTxPath1 0x10
- * #define bTxPath2 0x20
- */
-#define bHTDetect 0x100
-#define bCFOEn 0x10000
-#define bCFOValue 0xfff00000
-#define bSigTone_Re 0x3f
-#define bSigTone_Im 0x7f00
-#define bCounter_CCA 0xffff
-#define bCounter_ParityFail 0xffff0000
-#define bCounter_RateIllegal 0xffff
-#define bCounter_CRC8Fail 0xffff0000
-#define bCounter_MCSNoSupport 0xffff
-#define bCounter_FastSync 0xffff
-#define bShortCFO 0xfff
-#define bShortCFOTLength 12 /* total */
-#define bShortCFOFLength 11 /* fraction */
-#define bLongCFO 0x7ff
-#define bLongCFOTLength 11
-#define bLongCFOFLength 11
-#define bTailCFO 0x1fff
-#define bTailCFOTLength 13
-#define bTailCFOFLength 12
-
-#define bmax_en_pwdB 0xffff
-#define bCC_power_dB 0xffff0000
-#define bnoise_pwdB 0xffff
-#define bPowerMeasTLength 10
-#define bPowerMeasFLength 3
-#define bRx_HT_BW 0x1
-#define bRxSC 0x6
-#define bRx_HT 0x8
-
-#define bNB_intf_det_on 0x1
-#define bIntf_win_len_cfg 0x30
-#define bNB_Intf_TH_cfg 0x1c0
-
-#define bRFGain 0x3f
-#define bTableSel 0x40
-#define bTRSW 0x80
-
-#define bRxSNR_A 0xff
-#define bRxSNR_B 0xff00
-#define bRxSNR_C 0xff0000
-#define bRxSNR_D 0xff000000
-#define bSNREVMTLength 8
-#define bSNREVMFLength 1
-
-#define bCSI1st 0xff
-#define bCSI2nd 0xff00
-#define bRxEVM1st 0xff0000
-#define bRxEVM2nd 0xff000000
-
-#define bSIGEVM 0xff
-#define bPWDB 0xff00
-#define bSGIEN 0x10000
-
-#define bSFactorQAM1 0xf
-#define bSFactorQAM2 0xf0
-#define bSFactorQAM3 0xf00
-#define bSFactorQAM4 0xf000
-#define bSFactorQAM5 0xf0000
-#define bSFactorQAM6 0xf0000
-#define bSFactorQAM7 0xf00000
-#define bSFactorQAM8 0xf000000
-#define bSFactorQAM9 0xf0000000
-#define bCSIScheme 0x100000
-
-#define bNoiseLvlTopSet 0x3
-#define bChSmooth 0x4
-#define bChSmoothCfg1 0x38
-#define bChSmoothCfg2 0x1c0
-#define bChSmoothCfg3 0xe00
-#define bChSmoothCfg4 0x7000
-#define bMRCMode 0x800000
-#define bTHEVMCfg 0x7000000
-
-#define bLoopFitType 0x1
-#define bUpdCFO 0x40
-#define bUpdCFOOffData 0x80
-#define bAdvUpdCFO 0x100
-#define bAdvTimeCtrl 0x800
-#define bUpdClko 0x1000
-#define bFC 0x6000
-#define bTrackingMode 0x8000
-#define bPhCmpEnable 0x10000
-#define bUpdClkoLTF 0x20000
-#define bComChCFO 0x40000
-#define bCSIEstiMode 0x80000
-#define bAdvUpdEqz 0x100000
-#define bUChCfg 0x7000000
-#define bUpdEqz 0x8000000
-
/* page e */
#define bTxAGCRate18_06 0x7f7f7f7f
#define bTxAGCRate54_24 0x7f7f7f7f
--
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 " 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 ` John Whitmore [this message]
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-16-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