[PATCH 1/3] net: ksz9477: remove unnecessary dsa_set_tagging call
Tim Harvey
tharvey at gateworks.com
Wed Feb 8 00:37:16 CET 2023
packet tagging is not used for this driver so we do not need to
call dsa_set_tagging.
Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
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
More information about the U-Boot
mailing list