aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2023-02-07 15:37:16 -0800
committerTom Rini <trini@konsulko.com>2023-05-05 13:41:55 -0400
commit38482d659647e8932f95cea88d70ad1b2bbd5af4 (patch)
tree658821c7787619cec8ab0e3b6d30e136bf563369
parentab75996ba49c140c529f14b5c40d0d16430feefb (diff)
downloadu-boot-38482d659647e8932f95cea88d70ad1b2bbd5af4.zip
u-boot-38482d659647e8932f95cea88d70ad1b2bbd5af4.tar.gz
u-boot-38482d659647e8932f95cea88d70ad1b2bbd5af4.tar.bz2
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 <tharvey@gateworks.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
-rw-r--r--drivers/net/ksz9477.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ksz9477.c b/drivers/net/ksz9477.c
index fb5c76c..fecc394 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;
};