summaryrefslogtreecommitdiff
path: root/cpuid.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-02-22 01:22:42 -0500
committerDave Jones <davej@redhat.com>2011-02-22 01:22:42 -0500
commitad08ec55fbdd3171580317230bf7a0fafb19db81 (patch)
treee592e316e5624aaff15b8ff7755f9180903ca1dd /cpuid.c
parent164e79522d7eeae9478f2537b6f6cf5832a8b6e1 (diff)
eradicate bogus 'silent' flag that wasn't even used
Diffstat (limited to 'cpuid.c')
-rw-r--r--cpuid.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/cpuid.c b/cpuid.c
index 8fb6499..749bd48 100644
--- a/cpuid.c
+++ b/cpuid.c
@@ -134,13 +134,11 @@ void cpuid(unsigned int CPU_number, unsigned long long idx,
} else {
/* Something went wrong, just do UP and hope for the best. */
nodriver = 1;
- if (!silent && nrCPUs != 1)
+ if (nrCPUs != 1)
perror(cpuname);
- if (native_cpuid(CPU_number, idx, eax,ebx,ecx,edx)) {
+ if (native_cpuid(CPU_number, idx, eax,ebx,ecx,edx))
printf("%s", NATIVE_CPUID_FAILED_MSG);
- used_UP = 1;
- }
- used_UP = 1;
+ used_UP = 1;
return;
}