diff options
author | Baruch Siach <baruch@tkos.co.il> | 2019-05-22 15:56:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-23 02:34:03 +0200 |
commit | 2bb0f3b4341b0120d50ec11939fcbccdf6511fe6 (patch) | |
tree | 3356029eec33ce93cb8b08729e9bd9fcfa0b8165 | |
parent | net: Add UNIX_DIAG_UID to Netlink UNIX socket diagnostics. (diff) | |
download | linux-2bb0f3b4341b0120d50ec11939fcbccdf6511fe6.tar.xz linux-2bb0f3b4341b0120d50ec11939fcbccdf6511fe6.zip |
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: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/freescale/fec_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index aa7d4e27c5d1..f63eb2b57c3e 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -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 { |