arm64: Remove unneeded extern keyword
authorGeoff Levand <geoff@infradead.org>
Fri, 22 Aug 2014 19:49:16 +0000 (20:49 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 3 Oct 2014 13:51:02 +0000 (14:51 +0100)
Function prototypes are never definitions, so remove any 'extern' keyword
from the funcion prototypes in cpu_ops.h. Fixes warnings emited by
checkpatch.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpu_ops.h

index 47dfa31ad71a531e3bfed91c9ea0c519a44fee58..6f8e2ef9094a78929f21cf098d7ae6930c3222b9 100644 (file)
@@ -64,7 +64,7 @@ struct cpu_operations {
 };
 
 extern const struct cpu_operations *cpu_ops[NR_CPUS];
-extern int __init cpu_read_ops(struct device_node *dn, int cpu);
-extern void __init cpu_read_bootcpu_ops(void);
+int __init cpu_read_ops(struct device_node *dn, int cpu);
+void __init cpu_read_bootcpu_ops(void);
 
 #endif /* ifndef __ASM_CPU_OPS_H */