tools/power/turbostat: Remove a redundant check
Platforms with has_msr_misc_pwr_mgmt set is a subset of platforms with has_nhm_msrs set. Thus remove the redudant check for platform->has_nhm_msrs. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Reviewed-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
fcfa1ce074
commit
c2c25e85df
@ -5665,9 +5665,6 @@ void decode_misc_pwr_mgmt_msr(void)
|
||||
{
|
||||
unsigned long long msr;
|
||||
|
||||
if (!platform->has_nhm_msrs)
|
||||
return;
|
||||
|
||||
if (!platform->has_msr_misc_pwr_mgmt)
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user