summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-01-30 12:34:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-01-31 09:18:01 +0100
commitcc5666f23a1d84fba3c8765fc0c203e6746042ad (patch)
tree5ffd77af38d83b69655f47f9a712743bb0719ac5 /drivers/net/phy/phy.c
parentc43031000d8622d83fa4be12996fd97811fe818c (diff)
downloadbarebox-cc5666f23a1d84fba3c8765fc0c203e6746042ad.tar.gz
barebox-cc5666f23a1d84fba3c8765fc0c203e6746042ad.tar.xz
net: phy: remove duplicate definition of PHY_AN_TIMEOUT
Same macro is already defined in <linux/phy.h>. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230130113405.2796838-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r--drivers/net/phy/phy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 2c3a96bfc5..54dbbca725 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;
/**