From 38482d659647e8932f95cea88d70ad1b2bbd5af4 Mon Sep 17 00:00:00 2001 From: Tim Harvey Date: Tue, 7 Feb 2023 15:37:16 -0800 Subject: [PATCH] net: ksz9477: remove unnecessary dsa_set_tagging call packet tagging is not used for this driver so we do not need to call dsa_set_tagging. Signed-off-by: Tim Harvey Reviewed-by: Ramon Fried --- drivers/net/ksz9477.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ksz9477.c b/drivers/net/ksz9477.c index fb5c76c600..fecc394e02 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.39.5