[PATCH net-next v4 2/3] net: dsa: microchip: clean up ksz8_reg definition macros

From: vtpieter
Date: Wed Sep 04 2024 - 02:28:35 EST


From: Pieter Van Trappen <pieter.van.trappen@xxxxxxx>

Remove macros that are already defined at more appropriate places.

Signed-off-by: Pieter Van Trappen <pieter.van.trappen@xxxxxxx>
Acked-by: Arun Ramadoss <arun.ramadoss@xxxxxxxxxxxxx>
---
drivers/net/dsa/microchip/ksz8_reg.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/drivers/net/dsa/microchip/ksz8_reg.h b/drivers/net/dsa/microchip/ksz8_reg.h
index ff264d57594f..329688603a58 100644
--- a/drivers/net/dsa/microchip/ksz8_reg.h
+++ b/drivers/net/dsa/microchip/ksz8_reg.h
@@ -364,8 +364,6 @@
#define REG_IND_DATA_1 0x77
#define REG_IND_DATA_0 0x78

-#define REG_IND_DATA_PME_EEE_ACL 0xA0
-
#define REG_INT_STATUS 0x7C
#define REG_INT_ENABLE 0x7D

@@ -709,8 +707,6 @@
#define KSZ8795_ID_LO 0x1550
#define KSZ8863_ID_LO 0x1430

-#define KSZ8795_SW_ID 0x8795
-
#define PHY_REG_LINK_MD 0x1D

#define PHY_START_CABLE_DIAG BIT(15)
--
2.43.0