Commit f3b14a32 authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by Ingo Molnar

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: default avatarDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 911f6a7b
...@@ -343,10 +343,4 @@ static struct cpu_dev amd_cpu_dev __cpuinitdata = { ...@@ -343,10 +343,4 @@ static struct cpu_dev amd_cpu_dev __cpuinitdata = {
.c_size_cache = amd_size_cache, .c_size_cache = amd_size_cache,
}; };
int __init amd_init_cpu(void)
{
cpu_devs[X86_VENDOR_AMD] = &amd_cpu_dev;
return 0;
}
cpu_vendor_dev_register(X86_VENDOR_AMD, &amd_cpu_dev); cpu_vendor_dev_register(X86_VENDOR_AMD, &amd_cpu_dev);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment