x86: remove duplicated get_model_name() calling

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Yinghai Lu
2008-09-06 01:52:27 -07:00
committed by Ingo Molnar
parent deed05b7c0
commit 1b05d60d60
7 changed files with 4 additions and 15 deletions

View File

@@ -42,7 +42,6 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
{
u32 l, h;
int mbytes = num_physpages >> (20-PAGE_SHIFT);
int r;
#ifdef CONFIG_SMP
unsigned long long value;
@@ -75,8 +74,6 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
*/
clear_cpu_cap(c, 0*32+31);
r = get_model_name(c);
switch (c->x86) {
case 4:
/*