diff options
author | dp-arm <dimitris.papastamos@arm.com> | 2017-05-02 12:35:24 +0100 |
---|---|---|
committer | dp-arm <dimitris.papastamos@arm.com> | 2017-05-24 14:23:08 +0100 |
commit | 0851cb2468e76c5274d6cb8a98139a50a9091fcd (patch) | |
tree | a42fa0c5b6ac07f64d9a4774a8a774f4c603b9d9 | |
parent | c243e30babd0cc0ac392bf79006171256d3a4d01 (diff) |
fvp: Remove unnecessary default case
The default case is impossible to hit as the `power_level`
is already checked earlier. Avoids a clang warning.
Change-Id: I707463c843adc748ee9aa1d2313f9ab7dab3a8ab
Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
-rw-r--r-- | plat/arm/board/fvp/fvp_pm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plat/arm/board/fvp/fvp_pm.c b/plat/arm/board/fvp/fvp_pm.c index 449c580f..f4df658a 100644 --- a/plat/arm/board/fvp/fvp_pm.c +++ b/plat/arm/board/fvp/fvp_pm.c @@ -296,8 +296,6 @@ static int fvp_node_hw_state(u_register_t target_cpu, case ARM_PWR_LVL1: ret = (psysr & PSYSR_AFF_L1) ? HW_ON : HW_OFF; break; - default: - assert(0); } return ret; |