From e6a6dbd0a74f7a5256f13a8897001245b5fa537e Mon Sep 17 00:00:00 2001 From: Daeyeong Lee Date: Mon, 19 Feb 2018 21:15:07 +0900 Subject: [PATCH] [COMMON] soc: samsung: topology: Remove SYS level in topology hierarchy Change-Id: I26693ab9f5f8a687ec2d80e964a5c492275c5333 Signed-off-by: Daeyeong Lee --- drivers/soc/samsung/exynos-topology.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/drivers/soc/samsung/exynos-topology.c b/drivers/soc/samsung/exynos-topology.c index 9e358b3ce4ef..064fdc69b683 100644 --- a/drivers/soc/samsung/exynos-topology.c +++ b/drivers/soc/samsung/exynos-topology.c @@ -327,26 +327,12 @@ const struct sched_group_energy * const cpu_cluster_energy(int cpu) return sge; } -static inline -const struct sched_group_energy * const cpu_system_energy(int cpu) -{ - struct sched_group_energy *sge = sge_array[cpu][SD_LEVEL3]; - - if (!sge) { - pr_warn("Invalid sched_group_energy for System%d\n", cpu); - return NULL; - } - - return sge; -} - static struct sched_domain_topology_level arm64_topology[] = { #ifdef CONFIG_SCHED_MC { cpu_coregroup_mask, core_flags, cpu_core_energy, SD_INIT_NAME(MC) }, #endif { cpu_cluster_mask, cluster_flags, cpu_coregroup_energy, SD_INIT_NAME(DSU) }, { cpu_cpu_mask, cpu_flags, cpu_cluster_energy, SD_INIT_NAME(DIE) }, - { cpu_cpu_mask, NULL, cpu_system_energy, SD_INIT_NAME(SYS) }, { NULL, } }; -- 2.20.1