[COMMON] soc: samsung: topology: Remove SYS level in topology hierarchy
authorDaeyeong Lee <daeyeong.lee@samsung.com>
Mon, 19 Feb 2018 12:15:07 +0000 (21:15 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:32:55 +0000 (17:32 +0900)
Change-Id: I26693ab9f5f8a687ec2d80e964a5c492275c5333
Signed-off-by: Daeyeong Lee <daeyeong.lee@samsung.com>
drivers/soc/samsung/exynos-topology.c

index 9e358b3ce4ef097551a5b17bfe7db31210ac0314..064fdc69b6832d8cac64ec3dfbbe41d2bafed11f 100644 (file)
@@ -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, }
 };