diff mbox series

[net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT

Message ID f8e7b8ed-a665-41ad-b0ce-cbfdb65262ef@gmail.com (mailing list archive)
State Accepted
Commit 16d11fdaeb22715d8b55b08890173ffa2326baee
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: phy: remove unused PHY_INIT_TIMEOUT and PHY_FORCE_TIMEOUT | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1 this patch: 1
netdev/build_tools success Errors and warnings before: 26 (+1) this patch: 26 (+1)
netdev/cc_maintainers success CCed 4 of 4 maintainers
netdev/build_clang success Errors and warnings before: 976 this patch: 976
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 362 this patch: 362
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 9 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 30 this patch: 30
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2025-02-11--00-00 (tests: 889)

Commit Message

Heiner Kallweit Feb. 9, 2025, 12:12 p.m. UTC
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(-)

Comments

Gerhard Engleder Feb. 9, 2025, 6:29 p.m. UTC | #1
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>
Andrew Lunn Feb. 10, 2025, 12:37 a.m. UTC | #2
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
patchwork-bot+netdevbpf@kernel.org Feb. 12, 2025, 12:40 a.m. UTC | #3
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!
diff mbox series

Patch

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) */