diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-09-06 01:52:27 -0700 |
---|---|---|
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 | deed05b7c017e49473e8c386efba196410fd18b3 (diff) | |
download | op-kernel-dev-1b05d60d60e81c6594da8298107a05b506f01797.zip op-kernel-dev-1b05d60d60e81c6594da8298107a05b506f01797.tar.gz |
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 d64ea60..e0ba2c7 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: /* |