* [PATCH net-next] net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS
@ 2025-09-18 5:54 Heiner Kallweit
2025-09-18 15:08 ` Simon Horman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Heiner Kallweit @ 2025-09-18 5:54 UTC (permalink / raw)
To: Vladimir Oltean, Andrew Lunn, Andrew Lunn, Jakub Kicinski,
Paolo Abeni, Eric Dumazet, David Miller
Cc: netdev@vger.kernel.org
Remove duplicated definition of NUM_FIXED_PHYS. This was a leftover from
41357bc7b94b ("net: dsa: dsa_loop: remove usage of mdio_board_info").
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
drivers/net/dsa/dsa_loop.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/dsa/dsa_loop.c b/drivers/net/dsa/dsa_loop.c
index 57b54f15f..31798e8bd 100644
--- a/drivers/net/dsa/dsa_loop.c
+++ b/drivers/net/dsa/dsa_loop.c
@@ -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++) {
--
2.51.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS
2025-09-18 5:54 [PATCH net-next] net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS Heiner Kallweit
@ 2025-09-18 15:08 ` Simon Horman
2025-09-18 15:15 ` Vladimir Oltean
2025-09-19 14:30 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2025-09-18 15:08 UTC (permalink / raw)
To: Heiner Kallweit
Cc: Vladimir Oltean, Andrew Lunn, Andrew Lunn, Jakub Kicinski,
Paolo Abeni, Eric Dumazet, David Miller, netdev@vger.kernel.org
On Thu, Sep 18, 2025 at 07:54:00AM +0200, Heiner Kallweit wrote:
> Remove duplicated definition of NUM_FIXED_PHYS. This was a leftover from
> 41357bc7b94b ("net: dsa: dsa_loop: remove usage of mdio_board_info").
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS
2025-09-18 5:54 [PATCH net-next] net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS Heiner Kallweit
2025-09-18 15:08 ` Simon Horman
@ 2025-09-18 15:15 ` Vladimir Oltean
2025-09-19 14:30 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Vladimir Oltean @ 2025-09-18 15:15 UTC (permalink / raw)
To: Heiner Kallweit
Cc: Andrew Lunn, Andrew Lunn, Jakub Kicinski, Paolo Abeni,
Eric Dumazet, David Miller, netdev@vger.kernel.org
On Thu, Sep 18, 2025 at 07:54:00AM +0200, Heiner Kallweit wrote:
> Remove duplicated definition of NUM_FIXED_PHYS. This was a leftover from
> 41357bc7b94b ("net: dsa: dsa_loop: remove usage of mdio_board_info").
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS
2025-09-18 5:54 [PATCH net-next] net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS Heiner Kallweit
2025-09-18 15:08 ` Simon Horman
2025-09-18 15:15 ` Vladimir Oltean
@ 2025-09-19 14:30 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-09-19 14:30 UTC (permalink / raw)
To: Heiner Kallweit
Cc: olteanv, andrew, andrew+netdev, kuba, pabeni, edumazet, davem,
netdev
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 18 Sep 2025 07:54:00 +0200 you wrote:
> Remove duplicated definition of NUM_FIXED_PHYS. This was a leftover from
> 41357bc7b94b ("net: dsa: dsa_loop: remove usage of mdio_board_info").
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-09-19 14:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-18 5:54 [PATCH net-next] net: dsa: dsa_loop: remove duplicated definition of NUM_FIXED_PHYS Heiner Kallweit
2025-09-18 15:08 ` Simon Horman
2025-09-18 15:15 ` Vladimir Oltean
2025-09-19 14:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).