* [PATCH net-next] net: dsa: rzn1-a5psw: remove redundant logs
@ 2023-08-22 8:41 Alexis Lothoré
2023-08-22 15:49 ` Florian Fainelli
2023-08-23 8:50 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Alexis Lothoré @ 2023-08-22 8:41 UTC (permalink / raw)
To: Clément Leger, Andrew Lunn, Florian Fainelli,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
Cc: linux-renesas-soc, netdev, linux-kernel, Miquel Raynal,
Milan Stevanovic, Jimmy Lalande, Pascal Eberhard,
Thomas Petazzoni
From: Alexis Lothoré <alexis.lothore@bootlin.com>
Remove debug logs in port vlan management, since there are already multiple
tracepoints defined for those operations in DSA
Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
---
This update is a follow-up to Vladimir Oltean's comment (see [1]) which has
not been addressed before the RZN1 A5PSW vlan series merge
[1] https://lore.kernel.org/netdev/20230811100613.o77ei6updvbndkjm@skbuf/
---
drivers/net/dsa/rzn1_a5psw.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/net/dsa/rzn1_a5psw.c b/drivers/net/dsa/rzn1_a5psw.c
index 9167e83fbceb..2eda10b33f2e 100644
--- a/drivers/net/dsa/rzn1_a5psw.c
+++ b/drivers/net/dsa/rzn1_a5psw.c
@@ -735,10 +735,6 @@ static int a5psw_port_vlan_add(struct dsa_switch *ds, int port,
u16 vid = vlan->vid;
int vlan_res_id;
- dev_dbg(a5psw->dev, "Add VLAN %d on port %d, %s, %s\n",
- vid, port, tagged ? "tagged" : "untagged",
- pvid ? "PVID" : "no PVID");
-
vlan_res_id = a5psw_find_vlan_entry(a5psw, vid);
if (vlan_res_id < 0) {
vlan_res_id = a5psw_new_vlan_res_entry(a5psw, vid);
@@ -767,8 +763,6 @@ static int a5psw_port_vlan_del(struct dsa_switch *ds, int port,
u16 vid = vlan->vid;
int vlan_res_id;
- dev_dbg(a5psw->dev, "Removing VLAN %d on port %d\n", vid, port);
-
vlan_res_id = a5psw_find_vlan_entry(a5psw, vid);
if (vlan_res_id < 0)
return -EINVAL;
--
2.41.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: dsa: rzn1-a5psw: remove redundant logs
2023-08-22 8:41 [PATCH net-next] net: dsa: rzn1-a5psw: remove redundant logs Alexis Lothoré
@ 2023-08-22 15:49 ` Florian Fainelli
2023-08-23 8:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2023-08-22 15:49 UTC (permalink / raw)
To: Alexis Lothoré,
Clément Leger, Andrew Lunn, Vladimir Oltean,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
Cc: linux-renesas-soc, netdev, linux-kernel, Miquel Raynal,
Milan Stevanovic, Jimmy Lalande, Pascal Eberhard,
Thomas Petazzoni
On 8/22/2023 1:41 AM, Alexis Lothoré wrote:
> From: Alexis Lothoré <alexis.lothore@bootlin.com>
>
> Remove debug logs in port vlan management, since there are already multiple
> tracepoints defined for those operations in DSA
>
> Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
--
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: dsa: rzn1-a5psw: remove redundant logs
2023-08-22 8:41 [PATCH net-next] net: dsa: rzn1-a5psw: remove redundant logs Alexis Lothoré
2023-08-22 15:49 ` Florian Fainelli
@ 2023-08-23 8:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-08-23 8:50 UTC (permalink / raw)
To: =?utf-8?q?Alexis_Lothor=C3=A9_=3Calexis=2Elothore=40bootlin=2Ecom=3E?=
Cc: clement, andrew, f.fainelli, olteanv, davem, edumazet, kuba,
pabeni, linux-renesas-soc, netdev, linux-kernel, miquel.raynal,
milan.stevanovic, jimmy.lalande, pascal.eberhard,
thomas.petazzoni
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:
On Tue, 22 Aug 2023 10:41:12 +0200 you wrote:
> From: Alexis Lothoré <alexis.lothore@bootlin.com>
>
> Remove debug logs in port vlan management, since there are already multiple
> tracepoints defined for those operations in DSA
>
> Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
>
> [...]
Here is the summary with links:
- [net-next] net: dsa: rzn1-a5psw: remove redundant logs
https://git.kernel.org/netdev/net-next/c/2e0c8ee2b56f
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] 3+ messages in thread
end of thread, other threads:[~2023-08-23 8:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-22 8:41 [PATCH net-next] net: dsa: rzn1-a5psw: remove redundant logs Alexis Lothoré
2023-08-22 15:49 ` Florian Fainelli
2023-08-23 8:50 ` 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
all inboxes | Powered by JetHome®