]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: dwc_eth_qos: Drop bogus return after goto
authorMarek Vasut <marex@denx.de>
Mon, 6 Mar 2023 14:53:43 +0000 (15:53 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 30 Mar 2023 11:47:03 +0000 (13:47 +0200)
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>
drivers/net/dwc_eth_qos.c

index 0cae2cf2064eeea49bfdc295ed1e5f8ca25fd309..00690b28ca60a5f49832e3c3eaf649dc77b4a8c9 100644 (file)
@@ -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);