[PATCH] net: phy: remove duplicate definition of PHY_AN_TIMEOUT

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jan 30 03:34:05 PST 2023


Same macro is already defined in <linux/phy.h>.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/net/phy/phy.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 2c3a96bfc5db..54dbbca7255a 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -20,8 +20,6 @@
 #include <linux/phy.h>
 #include <linux/err.h>
 
-#define PHY_AN_TIMEOUT	10
-
 static struct phy_driver genphy_driver;
 
 /**
-- 
2.30.2




More information about the barebox mailing list