aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/bcm6348-eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bcm6348-eth.c')
-rw-r--r--drivers/net/bcm6348-eth.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/bcm6348-eth.c b/drivers/net/bcm6348-eth.c
index aad7b612134..06e0dd74a5b 100644
--- a/drivers/net/bcm6348-eth.c
+++ b/drivers/net/bcm6348-eth.c
@@ -461,11 +461,7 @@ static int bcm6348_eth_probe(struct udevice *dev)
return ret;
}
- ret = clk_free(&clk);
- if (ret < 0) {
- pr_err("%s: error freeing clock %d\n", __func__, i);
- return ret;
- }
+ clk_free(&clk);
}
/* try to perform resets */