projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a866ab3
)
Turbostat: remove unused variable has_epb
author
Vincent Brillault
<git@lerya.net>
Fri, 22 Aug 2014 22:53:10 +0000
(
00:53
+0200)
committer
Vincent Brillault
<git@lerya.net>
Sat, 28 Feb 2015 06:35:40 +0000
(07:35 +0100)
src/turbostat.c
patch
|
blob
|
history
diff --git
a/src/turbostat.c
b/src/turbostat.c
index
59ebefd
..
52e60f3
100644
(file)
--- 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;