Skip to content

Commit

Permalink
net: dsa: rzn1-a5psw: remove redundant logs
Browse files Browse the repository at this point in the history
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alexis Lothoré authored and David S. Miller committed Aug 23, 2023
1 parent 0bdf399 commit 2e0c8ee
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/net/dsa/rzn1_a5psw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2e0c8ee

Please sign in to comment.