On Thu, Jan 19, 2023 at 11:45 PM Marek Vasut <[email protected]> wrote:
>
> The return is never triggered due to the goto just above it.
> Drop it. No functional change.
>
> Signed-off-by: Marek Vasut <[email protected]>
> ---
> Cc: "Ariel D'Alessandro" <[email protected]>
> Cc: "NXP i.MX U-Boot Team" <[email protected]>
> Cc: Andrey Zhizhikin <[email protected]>
> Cc: Fabio Estevam <[email protected]>
> Cc: Joe Hershberger <[email protected]>
> Cc: Lukasz Majewski <[email protected]>
> Cc: Marcel Ziswiler <[email protected]>
> Cc: Marek Vasut <[email protected]>
> Cc: Michael Trimarchi <[email protected]>
> Cc: Peng Fan <[email protected]>
> Cc: Ramon Fried <[email protected]>
> Cc: Sean Anderson <[email protected]>
> Cc: Stefano Babic <[email protected]>
> Cc: Tim Harvey <[email protected]>
> Cc: Tommaso Merciai <[email protected]>
> Cc: [email protected]
> ---
>  drivers/net/dwc_eth_qos.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
> index afc47b56ff5..44d05908894 100644
> --- a/drivers/net/dwc_eth_qos.c
> +++ b/drivers/net/dwc_eth_qos.c
> @@ -1373,7 +1373,6 @@ static int eqos_probe_resources_tegra186(struct udevice 
> *dev)
>         if (ret) {
>                 pr_err("clk_get_by_name(ptp_ref) failed: %d", ret);
>                 goto err_free_clk_rx;
> -               return ret;
>         }
>
>         ret = clk_get_by_name(dev, "tx", &eqos->clk_tx);
> --
> 2.39.0
>
Reviewed-by: Ramon Fried <[email protected]>

Reply via email to