Commit c2c25e85 authored by Zhang Rui's avatar Zhang Rui

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: default avatarZhang Rui <rui.zhang@intel.com>
Reviewed-by: default avatarLen Brown <len.brown@intel.com>
parent fcfa1ce0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment