summaryrefslogtreecommitdiff
path: root/drivers/clk/clk_stm32f7.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/clk_stm32f7.c')
-rw-r--r--drivers/clk/clk_stm32f7.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/clk/clk_stm32f7.c b/drivers/clk/clk_stm32f7.c
index 5e20b0c..5bc650a 100644
--- a/drivers/clk/clk_stm32f7.c
+++ b/drivers/clk/clk_stm32f7.c
@@ -195,9 +195,6 @@ unsigned long clock_get(enum clock clck)
}
switch (clck) {
- case CLOCK_CORE:
- return sysclk;
- break;
case CLOCK_AHB:
shift = ahb_psc_table[(
(readl(&STM32_RCC->cfgr) & RCC_CFGR_AHB_PSC_MASK)