aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ipq40xx
diff options
context:
space:
mode:
authorRobert Marko2020-10-28 13:56:24 +0100
committerTom Rini2020-12-01 14:12:28 -0500
commit164cc98a7b9a8962a69cf4ae43bacb35eb98f51d (patch)
tree63deaa41fafd7dc2019c0a06be5b7faa5fc7efda /arch/arm/mach-ipq40xx
parent90534536a3a13672305ae4ff4ffcd4df9d7a4187 (diff)
IPQ40xx: clk: drop breaks in switch case
There is no point in having break statements in the switch case as there is already a return before break. So lets drop them from the driver. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm/mach-ipq40xx')
-rw-r--r--arch/arm/mach-ipq40xx/clock-ipq4019.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-ipq40xx/clock-ipq4019.c b/arch/arm/mach-ipq40xx/clock-ipq4019.c
index 1f385665ccb..ac2b830353a 100644
--- a/arch/arm/mach-ipq40xx/clock-ipq4019.c
+++ b/arch/arm/mach-ipq40xx/clock-ipq4019.c
@@ -25,7 +25,6 @@ ulong msm_set_rate(struct clk *clk, ulong rate)
case GCC_BLSP1_UART1_APPS_CLK: /*UART1*/
/* This clock is already initialized by SBL1 */
return 0;
- break;
default:
return 0;
}
@@ -53,11 +52,9 @@ static int msm_enable(struct clk *clk)
case GCC_BLSP1_QUP1_SPI_APPS_CLK: /*SPI1*/
/* This clock is already initialized by SBL1 */
return 0;
- break;
case GCC_PRNG_AHB_CLK: /*PRNG*/
/* This clock is already initialized by SBL1 */
return 0;
- break;
default:
return 0;
}