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

Showing the changes to include/linux (1 of 1 file). Show all

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
1616
1717 DECLARE_PER_CPU(unsigned long, cpu_scale);
1818
19−struct sched_domain;
2019 static inline
2120 unsigned long topology_get_cpu_scale(int cpu)
2221 {