From: Tim Harvey Date: Tue, 7 Feb 2023 23:37:16 +0000 (-0800) Subject: net: ksz9477: remove unnecessary dsa_set_tagging call X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=38482d659647e8932f95cea88d70ad1b2bbd5af4;p=u-boot.git 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 --- 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; };