x86, cpufreq: remove leftover copymask_copy()
Impact: fix potential boot crash on MAXSMP Remove code left over by: 50c668d: Revert "cpumask: use work_on_cpu in acpi-cpufreq.c for drv_read That cmd.cpumask is not allocated anymore. No impact on default !MAXSMP kernels. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
e8cea892df
commit
4a922a969c
|
@ -235,8 +235,6 @@ static u32 get_cur_val(const struct cpumask *mask)
|
|||
return 0;
|
||||
}
|
||||
|
||||
cpumask_copy(cmd.mask, mask);
|
||||
|
||||
drv_read(&cmd);
|
||||
|
||||
dprintk("get_cur_val = %u\n", cmd.val);
|
||||
|
|
Loading…
Reference in New Issue