linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wifi: mt76: mt7921: remove macro duplication in regs.h
@ 2023-05-12 13:11 Lorenzo Bianconi
  2023-05-12 16:01 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Bianconi @ 2023-05-12 13:11 UTC (permalink / raw)
  To: nbd; +Cc: lorenzo.bianconi, linux-wireless

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(-)

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)
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] wifi: mt76: mt7921: remove macro duplication in regs.h
  2023-05-12 13:11 [PATCH] wifi: mt76: mt7921: remove macro duplication in regs.h Lorenzo Bianconi
@ 2023-05-12 16:01 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2023-05-12 16:01 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: Felix Fietkau, Lorenzo Bianconi, linux-wireless

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-12 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-12 13:11 [PATCH] wifi: mt76: mt7921: remove macro duplication in regs.h Lorenzo Bianconi
2023-05-12 16:01 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).