diff options
author | Dmitri Vorobiev <dmitri.vorobiev@gmail.com> | 2008-04-19 22:54:31 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-26 11:35:46 -0400 |
commit | f3b14a32db9a74f2bbda980bc95cd4b1f136d80a (patch) | |
tree | 63bd86228284336d0ea670943cf1d17816baaf76 /arch | |
parent | 911f6a7ba21795865ab30fc5f88aa198b0daee5f (diff) |
x86: remove unused function amd_init_cpu()
There are no users for the function amd_init_cpu() defined in
arch/x86/kernel/cpu/amd.c. This patch removes this routine.
This patch was build-tested using defconfigs for i386 and x86_64,
and a few randconfig instances. Runtime tests were performed by
booting 32- and 64-bit x86 boxen up to the shell prompt.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/amd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 0173065dc3b7..245866828294 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c | |||
@@ -343,10 +343,4 @@ static struct cpu_dev amd_cpu_dev __cpuinitdata = { | |||
343 | .c_size_cache = amd_size_cache, | 343 | .c_size_cache = amd_size_cache, |
344 | }; | 344 | }; |
345 | 345 | ||
346 | int __init amd_init_cpu(void) | ||
347 | { | ||
348 | cpu_devs[X86_VENDOR_AMD] = &amd_cpu_dev; | ||
349 | return 0; | ||
350 | } | ||
351 | |||
352 | cpu_vendor_dev_register(X86_VENDOR_AMD, &amd_cpu_dev); | 346 | cpu_vendor_dev_register(X86_VENDOR_AMD, &amd_cpu_dev); |