summaryrefslogtreecommitdiff
path: root/drivers/net/mvpp2.c
diff options
context:
space:
mode:
authorBen Peled <bpeled@marvell.com>2021-05-03 08:08:50 +0200
committerStefan Roese <sr@denx.de>2021-05-20 13:03:30 +0200
commitcf51a0d5fce0f040748365aa6f3eb9a5b70884ea (patch)
tree5cdf8ea927b6a86ab6af16d5ca4f5b5e90edde85 /drivers/net/mvpp2.c
parent7589be8d3841062d933aa851186a7d3cb60f97b7 (diff)
downloadu-boot-cf51a0d5fce0f040748365aa6f3eb9a5b70884ea.tar.gz
net: mvpp2: remove unused define MVPP22_SMI_PHY_ADDR_REG
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>
Diffstat (limited to 'drivers/net/mvpp2.c')
-rw-r--r--drivers/net/mvpp2.c3
1 files changed, 0 insertions, 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 */