Commit 2bb0f3b4 authored by Baruch Siach's avatar Baruch Siach Committed by David S. Miller
Browse files

net: fec: remove redundant ipg clock disable



Don't disable the ipg clock in the regulator error path. The clock is
disable unconditionally two lines below the failed_regulator label.

Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cae9910e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3473,7 +3473,6 @@ fec_probe(struct platform_device *pdev)
		if (ret) {
			dev_err(&pdev->dev,
				"Failed to enable phy regulator: %d\n", ret);
			clk_disable_unprepare(fep->clk_ipg);
			goto failed_regulator;
		}
	} else {