History

drivers base/arch_topology: Remove 'struct sched_domain' forward declaration

The sched domain pointer argument from topology_get_freq_scale() and topology_get_cpu_scale() got removed by commit 7673c8a4c75d ("sched/cpufreq: Remove arch_scale_freq_capacity()'s 'sd' parameter") and commit 8ec59c0f5f49 ("sched/topology: Remove unused 'sd' parameter from arch_scale_cpu_capacity()"). So the 'struct sched_domain' forward declaration is no longer needed. Remove it.

Dietmar Eggemann committed 6 years ago

Commit e92a4eb1 parent 901cff71 file · +0 −1Browse files

Unified · Split

include/linux/arch_topology.h+0−1
@@ -16,7 +16,6 @@ bool topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu); · 15 unmodified lines
16 16
17DECLARE_PER_CPU(unsigned long, cpu_scale);17DECLARE_PER_CPU(unsigned long, cpu_scale);
18 18
19struct sched_domain;
20static inline19static inline
21unsigned long topology_get_cpu_scale(int cpu)20unsigned long topology_get_cpu_scale(int cpu)
22{21{