diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-09-06 10:52:27 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-06 14:09:12 +0200 |
commit | 1b05d60d60e81c6594da8298107a05b506f01797 (patch) | |
tree | a2eac6aee48ec09045b7a1f6457646588767ae52 /arch/x86/kernel/cpu/amd.c | |
parent | x86, init_64.c: cleanup (diff) | |
download | linux-1b05d60d60e81c6594da8298107a05b506f01797.tar.xz linux-1b05d60d60e81c6594da8298107a05b506f01797.zip |
x86: remove duplicated get_model_name() calling
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/amd.c')
-rw-r--r-- | arch/x86/kernel/cpu/amd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index d64ea6097ca7..e0ba2c7c5a18 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -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: /* |