Commit 0851cb24 authored by dp-arm's avatar dp-arm
Browse files

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: default avatardp-arm <dimitris.papastamos@arm.com>
parent c243e30b
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment