wifi: mt76: mt7921: remove macro duplication in regs.h
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 12 May 2023 13:11:58 +0000 (15:11 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 25 Jul 2023 19:59:40 +0000 (21:59 +0200)
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>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/regs.h

index e52977f..b180142 100644 (file)
 
 #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)