aboutsummaryrefslogtreecommitdiff
path: root/plat/rockchip/rk3368
diff options
context:
space:
mode:
authorJonathan Wright <jonathan.wright@arm.com>2018-03-14 15:24:00 +0000
committerJonathan Wright <jonathan.wright@arm.com>2018-03-26 12:43:05 +0100
commit649c48f5dca1765eabd42b5d630736a5d1e1f5e2 (patch)
tree48e9700b7154e62d0e8b43e732346e3929b938a3 /plat/rockchip/rk3368
parent3eacacc0ef6a8beefd858ff36cbc35e2b9ff5b07 (diff)
downloadtrusted-firmware-a-649c48f5dca1765eabd42b5d630736a5d1e1f5e2.tar.gz
plat: fix switch statements to comply with MISRA rules
Ensure (where possible) that switch statements in plat comply with MISRA rules 16.1 - 16.7. Change-Id: Ie4a7d2fd10f6141c0cfb89317ea28a755391622f Signed-off-by: Jonathan Wright <jonathan.wright@arm.com>
Diffstat (limited to 'plat/rockchip/rk3368')
-rw-r--r--plat/rockchip/rk3368/plat_sip_calls.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/plat/rockchip/rk3368/plat_sip_calls.c b/plat/rockchip/rk3368/plat_sip_calls.c
index 7383d2f202..03fee88cbc 100644
--- a/plat/rockchip/rk3368/plat_sip_calls.c
+++ b/plat/rockchip/rk3368/plat_sip_calls.c
@@ -19,9 +19,6 @@ uint64_t rockchip_plat_sip_handler(uint32_t smc_fid,
void *handle,
uint64_t flags)
{
- switch (smc_fid) {
- default:
- ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid);
- SMC_RET1(handle, SMC_UNK);
- }
+ ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid);
+ SMC_RET1(handle, SMC_UNK);
}