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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 65259C636CC for ; Tue, 7 Feb 2023 23:37:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1705C85E15; Wed, 8 Feb 2023 00:37:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gateworks.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 1D56D85E1B; Wed, 8 Feb 2023 00:37:27 +0100 (CET) Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 220D385559 for ; Wed, 8 Feb 2023 00:37:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gateworks.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tharvey@gateworks.com Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.93) (envelope-from ) id 1pPXWa-002roV-Pn; Tue, 07 Feb 2023 23:37:20 +0000 From: Tim Harvey To: u-boot@lists.denx.de, Ramon Fried , Joe Hershberger , Vladimir Oltean Cc: Tim Harvey Subject: [PATCH 1/3] net: ksz9477: remove unnecessary dsa_set_tagging call Date: Tue, 7 Feb 2023 15:37:16 -0800 Message-Id: <20230207233718.3162217-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean packet tagging is not used for this driver so we do not need to call dsa_set_tagging. Signed-off-by: Tim Harvey --- drivers/net/ksz9477.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ksz9477.c b/drivers/net/ksz9477.c index fb5c76c600be..fecc394e0277 100644 --- a/drivers/net/ksz9477.c +++ b/drivers/net/ksz9477.c @@ -501,8 +501,6 @@ static int ksz_i2c_probe(struct udevice *dev) ksz_pwrite8(priv->dev, i, REG_PORT_MSTP_STATE, data8); } - dsa_set_tagging(dev, 0, 0); - return 0; }; -- 2.25.1