diff options
author | Marek Vasut | 2023-03-06 15:53:43 +0100 |
---|---|---|
committer | Stefano Babic | 2023-03-30 13:47:03 +0200 |
commit | 895b05ce02ece2482534351dbe618a12e3d223bb (patch) | |
tree | 60e06eb3bc59d103520d1e9e0dc6c6d03265e03b | |
parent | 6c7e559864d6f3fb6c8702b51b8a55ff2d5245c7 (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.c | 1 |
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); |