From 648fc798e2a7d06b85d8ae1d5bd2c6b85782e5d7 Mon Sep 17 00:00:00 2001 From: Vincent Brillault Date: Sat, 23 Aug 2014 00:53:10 +0200 Subject: [PATCH] Turbostat: remove unused variable has_epb --- src/turbostat.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/turbostat.c b/src/turbostat.c index 59ebefd6..52e60f37 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -67,7 +67,6 @@ static unsigned int do_nhm_cstates; static unsigned int do_snb_cstates; static unsigned int do_c8_c9_c10; static unsigned int do_slm_cstates; -static unsigned int has_epb; static unsigned int genuine_intel; static unsigned int do_nehalem_platform_info; static int do_smi; @@ -1215,8 +1214,6 @@ check_cpuid() __get_cpuid(0x6, &eax, &ebx, &ecx, &edx); do_dts = eax & (1 << 0); do_ptm = eax & (1 << 6); - has_epb = ecx & (1 << 3); - if (!(ecx & (1 << 0))) { ERROR("No APERF"); return -ERR_NO_APERF; -- 2.30.2