diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c index d89178c98f6e..108be1de74f2 100644 --- a/drivers/base/arch_topology.c +++ b/drivers/base/arch_topology.c @@ -237,8 +237,6 @@ static int register_cpu_capacity_sysctl(void) subsys_initcall(register_cpu_capacity_sysctl); static int update_topology; -bool topology_update_done; -EXPORT_SYMBOL_GPL(topology_update_done); int topology_update_cpu_topology(void) { @@ -253,7 +251,6 @@ static void update_topology_flags_workfn(struct work_struct *work) { update_topology = 1; rebuild_sched_domains(); - topology_update_done = true; trace_android_vh_update_topology_flags_workfn(NULL); pr_debug("sched_domain hierarchy rebuilt, flags updated\n"); update_topology = 0; diff --git a/include/linux/arch_topology.h b/include/linux/arch_topology.h index 324889433b38..1249429a0873 100644 --- a/include/linux/arch_topology.h +++ b/include/linux/arch_topology.h @@ -97,6 +97,5 @@ void remove_cpu_topology(unsigned int cpuid); void reset_cpu_topology(void); int parse_acpi_topology(void); #endif -extern bool topology_update_done; #endif /* _LINUX_ARCH_TOPOLOGY_H_ */