projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d616d36
)
wifi: mt76: mt7921: remove macro duplication in regs.h
author
Lorenzo Bianconi
<lorenzo@kernel.org>
Fri, 12 May 2023 13:11:58 +0000
(15:11 +0200)
committer
Felix 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
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7921/regs.h
b/drivers/net/wireless/mediatek/mt76/mt7921/regs.h
index
e52977f
..
b180142
100644
(file)
--- 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)