Skip to content

Commit d059f24

Browse files
Borislav PetkovIngo Molnar
authored andcommitted
x86, CPU: Drop superfluous get_cpu_cap() prototype
The get_cpu_cap() external function prototype was declared twice so lose one of them. Clean up the header guard while at it. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Link: http://lkml.kernel.org/r/1322594083-14507-1-git-send-email-bp@amd64.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 2d070ef commit d059f24

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎arch/x86/kernel/cpu/cpu.h‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#ifndef ARCH_X86_CPU_H
2-
32
#define ARCH_X86_CPU_H
43

54
struct cpu_model_info {
@@ -35,6 +34,4 @@ extern const struct cpu_dev *const __x86_cpu_dev_start[],
3534

3635
extern void get_cpu_cap(struct cpuinfo_x86 *c);
3736
extern void cpu_detect_cache_sizes(struct cpuinfo_x86 *c);
38-
extern void get_cpu_cap(struct cpuinfo_x86 *c);
39-
40-
#endif
37+
#endif /* ARCH_X86_CPU_H */

0 commit comments

Comments
 (0)