remove some dead code from cpu.c (trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4300 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2009-05-26 12:33:06 +00:00 committed by Stefan Reinauer
parent 3a5c27763f
commit 4b556a16d3
1 changed files with 1 additions and 2 deletions

View File

@ -134,11 +134,9 @@ static const char *cpu_vendor_name(int vendor)
static void identify_cpu(struct device *cpu)
{
char vendor_name[16];
int cpuid_level;
int i;
vendor_name[0] = '\0'; /* Unset */
cpuid_level = -1; /* Maximum supported CPUID level, -1=no CPUID */
/* Find the id and vendor_name */
if (!have_cpuid_p()) {
@ -158,6 +156,7 @@ static void identify_cpu(struct device *cpu)
}
}
if (have_cpuid_p()) {
int cpuid_level;
struct cpuid_result result;
result = cpuid(0x00000000);
cpuid_level = result.eax;