From ad08ec55fbdd3171580317230bf7a0fafb19db81 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Tue, 22 Feb 2011 01:22:42 -0500 Subject: eradicate bogus 'silent' flag that wasn't even used --- cpuid.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'cpuid.c') 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; } -- cgit v1.2.3