summaryrefslogtreecommitdiff
path: root/tools/power
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2019-03-19 17:55:06 -0400
committerLen Brown <len.brown@intel.com>2019-03-20 22:55:44 -0400
commit31a1f15cea5e56fe8151ddf01278cb60c325626b (patch)
tree2566f735d38589edda1dafc8defe82a974c2e877 /tools/power
parent562855eeb1136009bc9d597116ac5829bf82dd06 (diff)
tools/power turbostat: Cleanup CNL-specific code
no functional change. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/x86/turbostat/turbostat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 861cb795679b..f2384ee98cdc 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -63,7 +63,6 @@ unsigned int dump_only;
unsigned int do_snb_cstates;
unsigned int do_knl_cstates;
unsigned int do_slm_cstates;
-unsigned int do_cnl_cstates;
unsigned int use_c1_residency_msr;
unsigned int has_aperf;
unsigned int has_epb;
@@ -4701,9 +4700,8 @@ void process_cpuid()
}
do_slm_cstates = is_slm(family, model);
do_knl_cstates = is_knl(family, model);
- do_cnl_cstates = is_cnl(family, model);
- if (do_slm_cstates || do_knl_cstates || do_cnl_cstates)
+ if (do_slm_cstates || do_knl_cstates || is_cnl(family, model))
BIC_NOT_PRESENT(BIC_CPU_c3);
if (!quiet)