From 90caa10b7c08f78de88acaa2a278c184610cbbf6 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Mon, 6 Mar 2023 15:53:43 +0100 Subject: [PATCH] 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 --- 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 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); -- 2.39.5