From: Heiner Kallweit Date: Sun, 9 Feb 2025 12:12:44 +0000 (+0100) Subject: net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT X-Git-Tag: v6.15-rc1~160^2~348 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16d11fdaeb22715d8b55b08890173ffa2326baee;p=thirdparty%2Fkernel%2Flinux.git 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") Signed-off-by: Heiner Kallweit Reviewed-by: Gerhard Engleder Reviewed-by: Andrew Lunn Link: https://patch.msgid.link/f8e7b8ed-a665-41ad-b0ce-cbfdb65262ef@gmail.com Signed-off-by: Jakub Kicinski --- diff --git a/include/linux/phy.h b/include/linux/phy.h index 29df4c6025898..83994b394d8e3 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) */