From cf51a0d5fce0f040748365aa6f3eb9a5b70884ea Mon Sep 17 00:00:00 2001 From: Ben Peled Date: Mon, 3 May 2021 08:08:50 +0200 Subject: [PATCH] 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 --- drivers/net/mvpp2.c | 3 --- 1 file changed, 3 deletions(-) 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 */ -- 2.39.5