aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut2023-03-06 15:53:43 +0100
committerStefano Babic2023-03-30 13:47:03 +0200
commit895b05ce02ece2482534351dbe618a12e3d223bb (patch)
tree60e06eb3bc59d103520d1e9e0dc6c6d03265e03b
parent6c7e559864d6f3fb6c8702b51b8a55ff2d5245c7 (diff)
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 <rfried.dev@gmail.com> Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r--drivers/net/dwc_eth_qos.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
index 0cae2cf2064..00690b28ca6 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);