Skip to contentSkip to conversation

net: dsa: rzn1-a5psw: remove redundant logs

PATCH Applied Alexis Lothoré 3 participants 3 messages Aug 22, 2023 – Aug 23, 2023

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

PATCH 1/1 net: dsa: rzn1-a5psw: remove redundant logs

From: Alexis Lothoré <[email protected]>

Remove debug logs in port vlan management, since there are already multiple tracepoints defined for those operations in DSA

---
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(-)
drivers/net/dsa/rzn1_a5psw.c +0 -6
index 9167e83fbceb..2eda10b33f2e 100644
@@ -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;
Signature · 1 line
2.41.0
#2 lore raw
In reply to Alexis Lothoré
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Quoted 8 lines · On Tue, 22 Aug 2023 10:41:12 +0200 you wrote:

From: Alexis Lothoré <[email protected]>

Remove debug logs in port vlan management, since there are already multiple tracepoints defined for those operations in DSA

[...]

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!

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