* [PATCH] net: phy: remove duplicate definition of PHY_AN_TIMEOUT
@ 2023-01-30 11:34 Ahmad Fatoum
2023-01-31 8:18 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-01-30 11:34 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
Same macro is already defined in <linux/phy.h>.
Signed-off-by: Ahmad Fatoum <a.fatoum@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net: phy: remove duplicate definition of PHY_AN_TIMEOUT
2023-01-30 11:34 [PATCH] net: phy: remove duplicate definition of PHY_AN_TIMEOUT Ahmad Fatoum
@ 2023-01-31 8:18 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-01-31 8:18 UTC (permalink / raw)
To: Ahmad Fatoum; +Cc: barebox
On Mon, Jan 30, 2023 at 12:34:05PM +0100, Ahmad Fatoum wrote:
> Same macro is already defined in <linux/phy.h>.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> drivers/net/phy/phy.c | 2 --
> 1 file changed, 2 deletions(-)
Applied, thanks
Sascha
>
> 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
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-31 8:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 11:34 [PATCH] net: phy: remove duplicate definition of PHY_AN_TIMEOUT Ahmad Fatoum
2023-01-31 8:18 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox