[PATCH u-boot-marvell 13/19] net: mvneta: Don't check for CONFIG_PHYLIB

Marek Behún kabel at kernel.org
Wed Apr 27 12:41:56 CEST 2022


From: Marek Behún <marek.behun at nic.cz>

Drop checking for CONFIG_PHYLIB in mvneta, this is already done in
Kconfig.

Signed-off-by: Marek Behún <marek.behun at nic.cz>
---
 drivers/net/mvneta.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c
index 5c3f7125b5..0ec9d2957c 100644
--- a/drivers/net/mvneta.c
+++ b/drivers/net/mvneta.c
@@ -40,10 +40,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#if !defined(CONFIG_PHYLIB)
-# error Marvell mvneta requires PHYLIB
-#endif
-
 #define CONFIG_NR_CPUS		1
 #define ETH_HLEN		14	/* Total octets in header */
 
-- 
2.35.1



More information about the U-Boot mailing list