From: dp-arm Date: Tue, 2 May 2017 11:35:24 +0000 (+0100) Subject: fvp: Remove unnecessary default case X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0851cb2468e76c5274d6cb8a98139a50a9091fcd;p=project%2Fbcm63xx%2Fatf.git 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 --- 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;