From 0f621ca9b92098ee08b944c5138e398059fcf6ee Mon Sep 17 00:00:00 2001 From: Shenlin Liang Date: Fri, 28 Jul 2023 14:57:44 +0800 Subject: [PATCH] arm64: fsl: layerscape: Remove unused functions Function board_switch_core_volt has not been used since it was defined Signed-off-by: Shenlin Liang Signed-off-by: Peng Fan --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c index 577a0b6098..3bfdc3f774 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c @@ -575,11 +575,6 @@ int get_core_volt_from_fuse(void) return vdd; } -__weak int board_switch_core_volt(u32 vdd) -{ - return 0; -} - static int setup_core_volt(u32 vdd) { return board_setup_core_volt(vdd); -- 2.39.5