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:
parent
3a5c27763f
commit
4b556a16d3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue