summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDaniel Boulby <daniel.boulby@arm.com>2018-05-03 17:11:04 +0100
committerDaniel Boulby <daniel.boulby@arm.com>2018-05-25 13:30:57 +0100
commitc43f0464dacb421cf1c2a9d9c6375f6d97bf71c5 (patch)
tree3a745b864664e24a41dc30366ed46ad8eb16c965 /common
parentbc325c2cb6df83a9d41cb33175ef45935f6bc1c1 (diff)
Remove rt_svc_descs pointer from inner scope
A pointer to rt_svc_desc_t was defined both in the function and globally. The innermost definition hid the global definition which is the one we want to use so remove the innermost definition to prevent this Change-Id: Idabdbc0947178ae83224bd17a9b170df7c278d51 Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Diffstat (limited to 'common')
-rw-r--r--common/runtime_svc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/runtime_svc.c b/common/runtime_svc.c
index f997c74a..e0d56095 100644
--- a/common/runtime_svc.c
+++ b/common/runtime_svc.c
@@ -38,7 +38,6 @@ uintptr_t handle_runtime_svc(uint32_t smc_fid,
u_register_t x1, x2, x3, x4;
int index;
unsigned int idx;
- const rt_svc_desc_t *rt_svc_descs;
assert(handle);
idx = get_unique_oen_from_smc_fid(smc_fid);