net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT
Subsystems (3)
Heiner Kallweit
maintainerPATCH 1/1 net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT
Both definitions are unused. Last users have been removed with:
f3ba9d490d6e ("net: s6gmac: remove driver") 2bd229df5e2e ("net: phy: remove state PHY_FORCING")
--- include/linux/phy.h | 3 --- 1 file changed, 3 deletions(-)
include/linux/phy.h +0 -3
@@ -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) */
Signature · 1 line
2.48.1
Quoted 15 lines · Heiner Kallweit
Both definitions are unused. Last users have been removed with:
f3ba9d490d6e("net: s6gmac: remove driver")2bd229df5e2e("net: phy: remove statePHY_FORCING")Signed-off-by Heiner Kallweit <[email protected]>--- include/linux/phy.h | 3 --- 1 file changed, 3 deletions(-)include/linux/phy.h +0
-0
include/linux/phy.h static inline long rgmii_clock(int speed) · line 308
Quoted 9 lines
include/linux/phy.h +0
-3@@ -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) */
Quoted 6 lines · Heiner Kallweit
Both definitions are unused. Last users have been removed with:
f3ba9d490d6e("net: s6gmac: remove driver")2bd229df5e2e("net: phy: remove statePHY_FORCING")Signed-off-by Heiner Kallweit <[email protected]>
Andrew
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · 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 statePHY_FORCING")Signed-off-by Heiner Kallweit <[email protected]>[...]
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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html