From patchwork Tue Aug 22 08:41:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alexis_Lothor=C3=A9_=28eBPF_Foundation=29?= X-Patchwork-Id: 13360352 X-Patchwork-Delegate: kuba@kernel.org Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C9E31FD0 for ; Tue, 22 Aug 2023 08:40:49 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C9D5CC6; Tue, 22 Aug 2023 01:40:45 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id B5C221BF206; Tue, 22 Aug 2023 08:40:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1692693643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CupauPWOKEGnv6ypWRmLX0hAKr1+lr/el0O5zqDzjfk=; b=fv42u8yalRi3HMRzqs5MhcdRJbFJqszlkvGxUJE7pBQA7wIie08tDx6KDG+o/4sdXCb1KK wocmGeAnJbzc1TyZ1YO0XDelBSYjbWfMlsd9m5CE+/eaWHx2rMqywVfk6vlGqYN2GXdfVQ tSVLV8W+B6JVjiXNrIr/WXyMMGjsp9EiBv3VIZCXK5xJIYWhEo5CkH6QfTaEoSKMTQACb4 KJm3GL1ed1VZq65e76klD6cNO80J5sno2SxMIfS3FfadzGicUTxbWH3eLOmJ5u72hnIrFx HvQqFm4SQ90t1t/1bbUmB2sbJFix8cWFyQgB9DUxOr6Gu5MbymlBVU0SHWjPQQ== From: =?utf-8?q?Alexis_Lothor=C3=A9?= To: =?utf-8?q?Cl=C3=A9ment_Leger?= , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Miquel Raynal , Milan Stevanovic , Jimmy Lalande , Pascal Eberhard , Thomas Petazzoni Subject: [PATCH net-next] net: dsa: rzn1-a5psw: remove redundant logs Date: Tue, 22 Aug 2023 10:41:12 +0200 Message-ID: <20230822084112.54803-1-alexis.lothore@bootlin.com> X-Mailer: git-send-email 2.41.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-GND-Sasl: alexis.lothore@bootlin.com X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Patchwork-Delegate: kuba@kernel.org From: Alexis Lothoré Remove debug logs in port vlan management, since there are already multiple tracepoints defined for those operations in DSA Signed-off-by: Alexis Lothoré Reviewed-by: Florian Fainelli --- 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;