aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/ocores_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/ocores_i2c.c')
-rw-r--r--drivers/i2c/ocores_i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/ocores_i2c.c b/drivers/i2c/ocores_i2c.c
index 3b19ba78fa..fff85118d0 100644
--- a/drivers/i2c/ocores_i2c.c
+++ b/drivers/i2c/ocores_i2c.c
@@ -396,8 +396,6 @@ static int ocores_i2c_enable_clk(struct udevice *dev)
bus->ip_clk_khz = clk_rate / 1000;
- clk_free(&bus->clk);
-
return 0;
}