net: ksz9477: remove unnecessary dsa_set_tagging call
authorTim Harvey <tharvey@gateworks.com>
Tue, 7 Feb 2023 23:37:16 +0000 (15:37 -0800)
committerTom Rini <trini@konsulko.com>
Fri, 5 May 2023 17:41:55 +0000 (13:41 -0400)
packet tagging is not used for this driver so we do not need to
call dsa_set_tagging.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/ksz9477.c

index fb5c76c..fecc394 100644 (file)
@@ -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;
 };