[PATCH v2 07/10] net: mvpp2: remove unused define MVPP22_SMI_PHY_ADDR_REG

Stefan Roese sr at denx.de
Mon May 3 08:08:50 CEST 2021


From: Ben Peled <bpeled at marvell.com>

Signed-off-by: Ben Peled <bpeled at marvell.com>
Reviewed-by: Stefan Chulski <stefanc at marvell.com>
Reviewed-by: Kostya Porotchkin <kostap at marvell.com>
Signed-off-by: Stefan Roese <sr at denx.de>
---

(no changes since v1)

 drivers/net/mvpp2.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c
index 879289452b15..61a0ea0894a7 100644
--- a/drivers/net/mvpp2.c
+++ b/drivers/net/mvpp2.c
@@ -490,9 +490,6 @@ do {									\
 #define MVPP22_SMI_MISC_CFG_REG			(MVPP22_SMI + 0x04)
 #define      MVPP22_SMI_POLLING_EN		BIT(10)
 
-#define MVPP22_SMI_PHY_ADDR_REG(port)		(MVPP22_SMI + 0x04 + \
-						 (0x4 * (port)))
-
 #define MVPP2_CAUSE_TXQ_SENT_DESC_ALL_MASK	0xff
 
 /* Descriptor ring Macros */
-- 
2.31.1



More information about the U-Boot mailing list