projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c243e30
)
fvp: Remove unnecessary default case
author
dp-arm
<dimitris.papastamos@arm.com>
Tue, 2 May 2017 11:35:24 +0000
(12:35 +0100)
committer
dp-arm
<dimitris.papastamos@arm.com>
Wed, 24 May 2017 13:23:08 +0000
(14:23 +0100)
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>
plat/arm/board/fvp/fvp_pm.c
patch
|
blob
|
history
diff --git
a/plat/arm/board/fvp/fvp_pm.c
b/plat/arm/board/fvp/fvp_pm.c
index 449c580f11b39a66e21bf7c9fe2a5c4311f902de..f4df658a7e87eb8c8c8487c602a9dc8eff585206 100644
(file)
--- 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;