diff mbox series

wifi: mt76: mt7921: remove macro duplication in regs.h

Message ID 78c80c25f8dc40b21b61092ab75f44fd4085c24c.1683897026.git.lorenzo@kernel.org (mailing list archive)
State Accepted
Delegated to: Felix Fietkau
Headers show
Series wifi: mt76: mt7921: remove macro duplication in regs.h | expand

Commit Message

Lorenzo Bianconi May 12, 2023, 1:11 p.m. UTC
Get rid of MT_MIB_RTS_COUNT_MASK marco duplication in mt7921/regs.h

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 drivers/net/wireless/mediatek/mt76/mt7921/regs.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Simon Horman May 12, 2023, 4:01 p.m. UTC | #1
On Fri, May 12, 2023 at 03:11:58PM +0200, Lorenzo Bianconi wrote:
> Get rid of MT_MIB_RTS_COUNT_MASK marco duplication in mt7921/regs.h
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

Reviewed-by: Simon Horman <simon.horman@corigine.com>
diff mbox series

Patch

diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/regs.h b/drivers/net/wireless/mediatek/mt76/mt7921/regs.h
index e52977ff3349..b180142562a2 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7921/regs.h
+++ b/drivers/net/wireless/mediatek/mt76/mt7921/regs.h
@@ -158,7 +158,6 @@ 
 
 #define MT_MIB_MB_SDR0(_band, n)	MT_WF_MIB(_band, 0x100 + ((n) << 4))
 #define MT_MIB_RTS_RETRIES_COUNT_MASK	GENMASK(31, 16)
-#define MT_MIB_RTS_COUNT_MASK		GENMASK(15, 0)
 
 #define MT_MIB_MB_BSDR0(_band)		MT_WF_MIB(_band, 0x688)
 #define MT_MIB_RTS_COUNT_MASK		GENMASK(15, 0)