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?= X-Patchwork-Id: 13360347 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92823EE4993 for ; Tue, 22 Aug 2023 08:40:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233055AbjHVIku (ORCPT ); Tue, 22 Aug 2023 04:40:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233181AbjHVIkt (ORCPT ); Tue, 22 Aug 2023 04:40:49 -0400 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 MIME-Version: 1.0 X-GND-Sasl: alexis.lothore@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.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;