summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192u/r819xU_phy.h
diff options
context:
space:
mode:
authorJohn Whitmore <johnfwhitmore@gmail.com>2018-07-26 20:24:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-29 10:13:26 +0200
commit14c964a2d3707891bd20b1883fd339f41bba4068 (patch)
tree799adb2c71f7365f37bf6e93a1cc0223100e571c /drivers/staging/rtl8192u/r819xU_phy.h
parentfb37edcfcba7088d07a0ebb79f2991cd190d0a99 (diff)
staging:rtl8192u: Remove repeated definitions - Style
Remove bit field masks which are defined in two files: r819xU_phy.h and r819xU_phyreg.h. Or in the case of bMaskByte3 defined but never used. The definitions have been removed from the file r819xU_phy.h. This is a coding style change, which should have no impact on runtime code execution. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r819xU_phy.h')
-rw-r--r--drivers/staging/rtl8192u/r819xU_phy.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_phy.h b/drivers/staging/rtl8192u/r819xU_phy.h
index 1ad459cf05ae..8ca869e8ee2f 100644
--- a/drivers/staging/rtl8192u/r819xU_phy.h
+++ b/drivers/staging/rtl8192u/r819xU_phy.h
@@ -41,14 +41,6 @@ enum rf90_radio_path_e {
RF90_PATH_MAX /* Max RF number 92 support */
};
-#define bMaskByte0 0xff
-#define bMaskByte1 0xff00
-#define bMaskByte2 0xff0000
-#define bMaskByte3 0xff000000
-#define bMaskHWord 0xffff0000
-#define bMaskLWord 0x0000ffff
-#define bMaskDWord 0xffffffff
-
u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 eRFPath);
void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr,
u32 bitmask, u32 data);