Improvements to runtime service init code
Light refactoring of the code in runtime_svc.c file.

 - Declare validate_rt_svc_desc()'s argument as const.

 - Remove 'goto' path in runtime_svc_init(). It was used in one
   place only.

 - Improve code readability by declaring a local variable holding the
   service pointer.

Change-Id: I3b15c5adb9f37b786b5b993a9be70ea9dd017a83
1 parent a1c3faa commit 9d24d353e6d1882ec7a5df99cb374165fe001e56
@Sandrine Bailleux Sandrine Bailleux authored on 28 Jun 2016
Showing 1 changed file
View
common/runtime_svc.c