tools/power/turbostat: Remove a redundant check
authorZhang Rui <rui.zhang@intel.com>
Mon, 27 Mar 2023 06:57:06 +0000 (14:57 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Sep 2023 14:14:18 +0000 (22:14 +0800)
commitc2c25e85df316a624e4a8ee85d65ea29265f486d
tree92454a1251a57a5f440fde2dc075600a9a025da0
parentfcfa1ce074ab76272639961d4d7900b91657a8d5
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>
tools/power/x86/turbostat/turbostat.c