From c43f0464dacb421cf1c2a9d9c6375f6d97bf71c5 Mon Sep 17 00:00:00 2001 From: Daniel Boulby Date: Thu, 3 May 2018 17:11:04 +0100 Subject: 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 --- common/runtime_svc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'common') 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); -- cgit v1.2.3