Skip to contentSkip to conversation

net: freescale: ucc_geth: remove unused PHY_INIT_TIMEOUT and PHY_CHANGE_TIME

PATCH Applied Heiner Kallweit 3 participants 3 messages Feb 9, 2025 – Feb 12, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: freescale: ucc_geth: remove unused PHY_INIT_TIMEOUT and PHY_CHANGE_TIME

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

1577ecef7666 ("netdev: Merge UCC and gianfar MDIO bus drivers") 728de4c927a3 ("ucc_geth: migrate ucc_geth to phylib")

---
 drivers/net/ethernet/freescale/ucc_geth.h | 2 --
 1 file changed, 2 deletions(-)
drivers/net/ethernet/freescale/ucc_geth.h +0 -2
index 38789faae..84f92f638 100644
@@ -890,8 +890,6 @@ struct ucc_geth_hardware_statistics {
 							   addresses */
 
 #define TX_TIMEOUT                              (1*HZ)
-#define PHY_INIT_TIMEOUT                        100000
-#define PHY_CHANGE_TIME                         2
 
 /* Fast Ethernet (10/100 Mbps) */
 #define UCC_GETH_URFS_INIT                      512	/* Rx virtual FIFO size
Signature · 1 line
2.48.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Heiner Kallweit

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

1577ecef7666 ("netdev: Merge UCC and gianfar MDIO bus drivers") 728de4c927a3 ("ucc_geth: migrate ucc_geth to phylib")

---
  drivers/net/ethernet/freescale/ucc_geth.h | 2 --
  1 file changed, 2 deletions(-)
drivers/net/ethernet/freescale/ucc_geth.h +0 -0
index 38789faae..84f92f638 100644

drivers/net/ethernet/freescale/ucc_geth.h struct ucc_geth_hardware_statistics { · line 895

Quoted 8 lines
drivers/net/ethernet/freescale/ucc_geth.h +0 -2
@@ -890,8 +890,6 @@ struct ucc_geth_hardware_statistics {
  							   addresses */
 
  #define TX_TIMEOUT                              (1*HZ)
-#define PHY_INIT_TIMEOUT                        100000
-#define PHY_CHANGE_TIME                         2
 
  /* Fast Ethernet (10/100 Mbps) */
  #define UCC_GETH_URFS_INIT                      512	/* Rx virtual FIFO size
#2 lore raw
In reply to Heiner Kallweit
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:27:44 +0100 you wrote:

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

1577ecef7666 ("netdev: Merge UCC and gianfar MDIO bus drivers") 728de4c927a3 ("ucc_geth: migrate ucc_geth to phylib")

[...]

Here is the summary with links:
- [net-next] net: freescale: ucc_geth: remove unused PHY_INIT_TIMEOUT and PHY_CHANGE_TIME

    https://git.kernel.org/netdev/net-next/c/8729a9bd6efc

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html