On Mon, Sep 26, 2022 at 09:58:27AM +0800, Yipeng Zou wrote: > The commit "x86/cpu: Avoid cpuinfo-induced IPIing of idle CPUs" introduce > this function to identify the current CPU idle state. > But after commit "x86/aperfmperf: Replace arch_freq_get_on_cpu()" we > just use MAX_SAMPLE_AGE to do that, So there is no use of this function. > > Fixes: f3eca381bd49 ("x86/aperfmperf: Replace arch_freq_get_on_cpu()") > Signed-off-by: Yipeng Zou <zouyipeng@xxxxxxxxxx> Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>