[PATCH 1/3] net: ksz9477: remove unnecessary dsa_set_tagging call
Ramon Fried
rfried.dev at gmail.com
Sat Feb 18 21:04:54 CET 2023
On Wed, Feb 8, 2023 at 1:37 AM Tim Harvey <tharvey at gateworks.com> wrote:
>
> 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
>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>
More information about the U-Boot
mailing list