net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS
Subsystems (3)
PATCH 1/1 net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS
Remove duplicated definition of NUM_FIXED_PHYS. This was a leftover from 41357bc7b94b ("net: dsa: dsa_loop: remove usage of mdio_board_info").
--- drivers/net/dsa/dsa_loop.c | 2 -- 1 file changed, 2 deletions(-)
drivers/net/dsa/dsa_loop.c +0 -2
@@ -396,8 +396,6 @@ static struct mdio_driver dsa_loop_drv = { .shutdown = dsa_loop_drv_shutdown, }; -#define NUM_FIXED_PHYS (DSA_LOOP_NUM_PORTS - 2) -static void dsa_loop_phydevs_unregister (void ) {for (int i =0 ; i <NUM_FIXED_PHYS ; i++) {
Signature · 1 line
2.51.0
Quoted 4 lines · Heiner Kallweit
Remove duplicated definition of
NUM_FIXED_PHYS. This was a leftover from41357bc7b94b("net: dsa:dsa_loop: remove usage ofmdio_board_info").Signed-off-by Heiner Kallweit <[email protected]>
Quoted 5 lines · Heiner Kallweit
Remove duplicated definition of
NUM_FIXED_PHYS. This was a leftover from41357bc7b94b("net: dsa:dsa_loop: remove usage ofmdio_board_info").Signed-off-by Heiner Kallweit <[email protected]>---
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 7 lines · On Thu, 18 Sep 2025 07:54:00 +0200 you wrote:
Remove duplicated definition of
NUM_FIXED_PHYS. This was a leftover from41357bc7b94b("net: dsa:dsa_loop: remove usage ofmdio_board_info").Signed-off-by Heiner Kallweit <[email protected]>--- drivers/net/dsa/dsa_loop.c | 2 -- 1 file changed, 2 deletions(-)
Here is the summary with links:
- [net-next] net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS
https://git.kernel.org/netdev/net-next/c/a346e48c1792
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html