From: Philipp Hortmann Date: Wed, 22 Mar 2023 17:14:48 +0000 (+0100) Subject: staging: rtl8192e: Remove double defined constants bMaskBytex and more X-Git-Tag: v6.6.7~2983^2~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09d0c43a094a9b86e1de22894f17cab38b1f12a2;p=platform%2Fkernel%2Flinux-starfive.git staging: rtl8192e: Remove double defined constants bMaskBytex and more Remove double defined constants. Signed-off-by: Philipp Hortmann Link: https://lore.kernel.org/r/3f31664d8751ebb8b78cbd7d019f002fb2ba4c3c.1679504314.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h index fd34756..498da6b 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h @@ -25,14 +25,6 @@ enum rf90_radio_path { RF90_PATH_MAX }; -#define bMaskByte0 0xff -#define bMaskByte1 0xff00 -#define bMaskByte2 0xff0000 -#define bMaskByte3 0xff000000 -#define bMaskHWord 0xffff0000 -#define bMaskLWord 0x0000ffff -#define bMaskDWord 0xffffffff - void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask, u32 dwData); u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask);