netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT
@ 2025-02-09 12:12 Heiner Kallweit
  2025-02-09 18:29 ` Gerhard Engleder
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Heiner Kallweit @ 2025-02-09 12:12 UTC (permalink / raw)
  To: Andrew Lunn, Russell King - ARM Linux, Andrew Lunn, Paolo Abeni,
	Jakub Kicinski, David Miller, Eric Dumazet
  Cc: netdev@vger.kernel.org

Both definitions are unused. Last users have been removed with:

f3ba9d490d6e ("net: s6gmac: remove driver")
2bd229df5e2e ("net: phy: remove state PHY_FORCING")

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 include/linux/phy.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/phy.h b/include/linux/phy.h
index 19f076a71..e1237bc51 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -303,9 +303,6 @@ static inline long rgmii_clock(int speed)
 	}
 }
 
-#define PHY_INIT_TIMEOUT	100000
-#define PHY_FORCE_TIMEOUT	10
-
 #define PHY_MAX_ADDR	32
 
 /* Used when trying to connect to a specific phy (mii bus id:phy device id) */
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT
  2025-02-09 12:12 [PATCH net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT Heiner Kallweit
@ 2025-02-09 18:29 ` Gerhard Engleder
  2025-02-10  0:37 ` Andrew Lunn
  2025-02-12  0:40 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Gerhard Engleder @ 2025-02-09 18:29 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: netdev@vger.kernel.org, Andrew Lunn, Russell King - ARM Linux,
	Paolo Abeni, Eric Dumazet, Andrew Lunn, David Miller,
	Jakub Kicinski

On 09.02.25 13:12, Heiner Kallweit wrote:
> Both definitions are unused. Last users have been removed with:
> 
> f3ba9d490d6e ("net: s6gmac: remove driver")
> 2bd229df5e2e ("net: phy: remove state PHY_FORCING")
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
>   include/linux/phy.h | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/include/linux/phy.h b/include/linux/phy.h
> index 19f076a71..e1237bc51 100644
> --- a/include/linux/phy.h
> +++ b/include/linux/phy.h
> @@ -303,9 +303,6 @@ static inline long rgmii_clock(int speed)
>   	}
>   }
>   
> -#define PHY_INIT_TIMEOUT	100000
> -#define PHY_FORCE_TIMEOUT	10
> -
>   #define PHY_MAX_ADDR	32
>   
>   /* Used when trying to connect to a specific phy (mii bus id:phy device id) */

Reviewed-by: Gerhard Engleder <gerhard@engleder-embedded.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT
  2025-02-09 12:12 [PATCH net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT Heiner Kallweit
  2025-02-09 18:29 ` Gerhard Engleder
@ 2025-02-10  0:37 ` Andrew Lunn
  2025-02-12  0:40 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2025-02-10  0:37 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: Russell King - ARM Linux, Andrew Lunn, Paolo Abeni,
	Jakub Kicinski, David Miller, Eric Dumazet,
	netdev@vger.kernel.org

On Sun, Feb 09, 2025 at 01:12:44PM +0100, Heiner Kallweit wrote:
> Both definitions are unused. Last users have been removed with:
> 
> f3ba9d490d6e ("net: s6gmac: remove driver")
> 2bd229df5e2e ("net: phy: remove state PHY_FORCING")
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT
  2025-02-09 12:12 [PATCH net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT Heiner Kallweit
  2025-02-09 18:29 ` Gerhard Engleder
  2025-02-10  0:37 ` Andrew Lunn
@ 2025-02-12  0:40 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-02-12  0:40 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: andrew, linux, andrew+netdev, pabeni, kuba, davem, edumazet,
	netdev

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sun, 9 Feb 2025 13:12:44 +0100 you wrote:
> Both definitions are unused. Last users have been removed with:
> 
> f3ba9d490d6e ("net: s6gmac: remove driver")
> 2bd229df5e2e ("net: phy: remove state PHY_FORCING")
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> 
> [...]

Here is the summary with links:
  - [net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT
    https://git.kernel.org/netdev/net-next/c/16d11fdaeb22

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-12  0:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-09 12:12 [PATCH net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT Heiner Kallweit
2025-02-09 18:29 ` Gerhard Engleder
2025-02-10  0:37 ` Andrew Lunn
2025-02-12  0:40 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).