From: Ben Peled Date: Mon, 3 May 2021 06:08:50 +0000 (+0200) Subject: net: mvpp2: remove unused define MVPP22_SMI_PHY_ADDR_REG X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=cf51a0d5fce0f040748365aa6f3eb9a5b70884ea;p=u-boot.git net: mvpp2: remove unused define MVPP22_SMI_PHY_ADDR_REG Signed-off-by: Ben Peled Reviewed-by: Stefan Chulski Reviewed-by: Kostya Porotchkin Signed-off-by: Stefan Roese Reviewed-by: Ramon Fried --- diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index 879289452b..61a0ea0894 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 */