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

Sascha Hauer sha at pengutronix.de
Tue Jan 31 00:18:11 PST 2023


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 at 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 |



More information about the barebox mailing list