cpupower: Remove unused pscur variable.
mainline inclusion from mainline-5.12-rc1-dontuse commit 1421de79 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4QQWF -------------------------------- The pscur variable is set but not uused, just remove it. This may have previsously been set to validate the MSR_AMD_PSTATE_STATUS MSR. With the addition of the CPUPOWER_CAP_AMD_HW_PSTATE cap flag this is no longer needed since the cpuid bit to enable this cap flag also validates that the MSR_AMD_PSTATE_STATUS MSR is present. Signed-off-by:Nathan Fontenot <nathan.fontenot@amd.com> Reviewed-by:
Robert Richter <rrichter@amd.com> Signed-off-by:
Shuah Khan <skhan@linuxfoundation.org> Signed-off-by:
qinyu <qinyu16@huawei.com> Reviewed-by:
Chao Liu <liuchao173@huawei.com> Reviewed-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment