]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: mvpp2: remove unused define MVPP22_SMI_PHY_ADDR_REG
authorBen Peled <bpeled@marvell.com>
Mon, 3 May 2021 06:08:50 +0000 (08:08 +0200)
committerStefan Roese <sr@denx.de>
Thu, 20 May 2021 11:03:30 +0000 (13:03 +0200)
Signed-off-by: Ben Peled <bpeled@marvell.com>
Reviewed-by: Stefan Chulski <stefanc@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/mvpp2.c

index 879289452b1508d113b1a045054f779957334305..61a0ea0894a73dd6493354ccc8fe8f6aefe02257 100644 (file)
@@ -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 */