diff options
author | Dave Jones <davej@redhat.com> | 2011-02-22 01:22:42 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2011-02-22 01:22:42 -0500 |
commit | ad08ec55fbdd3171580317230bf7a0fafb19db81 (patch) | |
tree | e592e316e5624aaff15b8ff7755f9180903ca1dd /cpuid.c | |
parent | 164e79522d7eeae9478f2537b6f6cf5832a8b6e1 (diff) |
eradicate bogus 'silent' flag that wasn't even used
Diffstat (limited to 'cpuid.c')
-rw-r--r-- | cpuid.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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; } |