From 22b09c1721ca25a93918e2f2b76ffcb5c5e13f1e Mon Sep 17 00:00:00 2001 From: Sandrine Bailleux Date: Mon, 25 Apr 2016 09:28:43 +0100 Subject: Remove unused argument in psci_cpu_on_start() The "end power level" value passed as the 3rd argument to the psci_cpu_on_start() function is not used so this patch removes it. Change-Id: Icaa68b8c4ecd94507287970455fbff354faaa41e --- services/std_svc/psci/psci_main.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'services/std_svc/psci/psci_main.c') diff --git a/services/std_svc/psci/psci_main.c b/services/std_svc/psci/psci_main.c index e6cd3a3a..68ad5f63 100644 --- a/services/std_svc/psci/psci_main.c +++ b/services/std_svc/psci/psci_main.c @@ -47,7 +47,6 @@ int psci_cpu_on(u_register_t target_cpu, { int rc; - unsigned int end_pwrlvl; entry_point_info_t ep; /* Determine if the cpu exists of not */ @@ -64,11 +63,7 @@ int psci_cpu_on(u_register_t target_cpu, * To turn this cpu on, specify which power * levels need to be turned on */ - end_pwrlvl = PLAT_MAX_PWR_LVL; - rc = psci_cpu_on_start(target_cpu, - &ep, - end_pwrlvl); - return rc; + return psci_cpu_on_start(target_cpu, &ep); } unsigned int psci_version(void) -- cgit