mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7925: remove code guarded by nonexistent config option
A small piece of code in mt7925/regs.h depends on CONFIG_MT76_DEV, which has never been defined in the kernel. Remove this dead code. Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file. Signed-off-by: Ethan Nelson-Moore <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
f5dc4270d2
commit
d88989f8c6
@@ -88,11 +88,7 @@
|
|||||||
#define MT_HIF_REMAP_BASE_L1 0x130000
|
#define MT_HIF_REMAP_BASE_L1 0x130000
|
||||||
|
|
||||||
#define MT_HIF_REMAP_L2 0x0120
|
#define MT_HIF_REMAP_L2 0x0120
|
||||||
#if IS_ENABLED(CONFIG_MT76_DEV)
|
|
||||||
#define MT_HIF_REMAP_BASE_L2 (0x7c500000 - (0x7c000000 - 0x18000000))
|
|
||||||
#else
|
|
||||||
#define MT_HIF_REMAP_BASE_L2 0x18500000
|
#define MT_HIF_REMAP_BASE_L2 0x18500000
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MT_WFSYS_SW_RST_B 0x7c000140
|
#define MT_WFSYS_SW_RST_B 0x7c000140
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user