aboutsummaryrefslogtreecommitdiff
path: root/drivers/timer/ostm_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/timer/ostm_timer.c')
-rw-r--r--drivers/timer/ostm_timer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/timer/ostm_timer.c b/drivers/timer/ostm_timer.c
index 3ec729d2c4..3bf0d4647b 100644
--- a/drivers/timer/ostm_timer.c
+++ b/drivers/timer/ostm_timer.c
@@ -49,8 +49,6 @@ static int ostm_probe(struct udevice *dev)
return ret;
uc_priv->clock_rate = clk_get_rate(&clk);
-
- clk_free(&clk);
#else
uc_priv->clock_rate = get_board_sys_clk() / 2;
#endif