From: Vincent Brillault Date: Fri, 22 Aug 2014 22:53:10 +0000 (+0200) Subject: Turbostat: remove unused variable has_epb X-Git-Tag: collectd-5.5.0~24^2~69 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=648fc798e2a7d06b85d8ae1d5bd2c6b85782e5d7 Turbostat: remove unused variable has_epb --- 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;