aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-09-06 23:30:09 +0200
committerTom Rini <trini@konsulko.com>2023-09-14 10:42:25 -0400
commit09c8b8de021781103bad3e90c0bffc47d84af99e (patch)
tree7d5a0e9955e7e906ee0e2d63a7af98870373283b /net
parent3903d695b482e8958ec78c9acb87b85a6ba69e2b (diff)
downloadu-boot-09c8b8de021781103bad3e90c0bffc47d84af99e.zip
u-boot-09c8b8de021781103bad3e90c0bffc47d84af99e.tar.gz
u-boot-09c8b8de021781103bad3e90c0bffc47d84af99e.tar.bz2
net: phy: Remove unused NEEDS_MANUAL_RELOC code bits
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'net')
-rw-r--r--net/eth_common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/eth_common.c b/net/eth_common.c
index c94a7ba..14d4c07 100644
--- a/net/eth_common.c
+++ b/net/eth_common.c
@@ -36,10 +36,6 @@ void eth_common_init(void)
#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII) || defined(CONFIG_PHYLIB)
miiphy_init();
#endif
-
-#if defined(CONFIG_NEEDS_MANUAL_RELOC) && defined(CONFIG_PHYLIB)
- phy_init();
-#endif
#endif
}