aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpu/cpu.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpu/cpu.cpp b/cpu/cpu.cpp
index 89da218..8e64821 100644
--- a/cpu/cpu.cpp
+++ b/cpu/cpu.cpp
@@ -336,7 +336,6 @@ static const char *freq_class(int line)
void html_display_cpu_cstates(void)
{
char buffer[512], buffer2[512];
- char linebuf[1024];
unsigned int package, core, cpu;
int line;
class abstract_cpu *_package, * _core, * _cpu;
@@ -363,7 +362,6 @@ void html_display_cpu_cstates(void)
for (line = LEVEL_HEADER; line < 10; line++) {
int first = 1;
- linebuf[0] = 0;
if (!_package->has_cstate_level(line))
continue;