From: Marek Vasut Date: Mon, 6 Mar 2023 14:53:43 +0000 (+0100) Subject: net: dwc_eth_qos: Drop bogus return after goto X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~175^2~16^2~15 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=90caa10b7c08f78de88acaa2a278c184610cbbf6;p=uboot.git net: dwc_eth_qos: Drop bogus return after goto The return is never triggered due to the goto just above it. Drop it. No functional change. Reviewed-by: Ramon Fried Signed-off-by: Marek Vasut --- diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 0cae2cf206..00690b28ca 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -1383,7 +1383,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);