Re: [PATCH v2 1/3] net: mdio: Add the reset function for IPQ MDIO driver

From: Andrew Lunn
Date: Wed Aug 11 2021 - 10:57:55 EST


> + ret = clk_prepare_enable(priv->mdio_clk);
> + if (ret)
> + return ret;
> +
> + return 0;

This can be simplified to just:

return clk_prepare_enable(priv->mdio_clk);

Andrew