cpupower: Remove unused pscur variable.
authorNathan Fontenot <nathan.fontenot@amd.com>
Mon, 25 Jan 2021 17:35:10 +0000 (11:35 -0600)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 26 Jan 2021 16:40:21 +0000 (09:40 -0700)
commit1421de7919cd082bad692626937f055f367586ba
treee8ac0b934bd21f8e5e5861534a1f8fc9706cab0b
parenta0255a76bf3a78d322adfe4eb4e73eb83998f61a
cpupower: Remove unused pscur variable.

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>
tools/power/cpupower/utils/helpers/amd.c