summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-02-22 19:20:10 -0500
committerDave Jones <davej@redhat.com>2011-02-22 19:20:10 -0500
commit281b6aa06f0feb1f2d8cceb933ac941982e600c6 (patch)
tree15410036f3c1cb121135680142785c3e4a3658ba
parentab32379ad4bea08d75f4094797c81cd0094c4735 (diff)
remove unnecessary assignment
-rw-r--r--x86info.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/x86info.c b/x86info.c
index 4200f5a..e7a4efb 100644
--- a/x86info.c
+++ b/x86info.c
@@ -245,11 +245,10 @@ int main (int argc, char **argv)
}
}
- cpu = firstcpu;
display_topology(firstcpu);
printf(" running at an estimated ");
- display_MHz(cpu);
+ display_MHz(firstcpu);
printf("\n");