]> Git Repo - linux.git/commitdiff
arm64: Remove unneeded extern keyword
authorGeoff Levand <[email protected]>
Fri, 22 Aug 2014 19:49:16 +0000 (20:49 +0100)
committerCatalin Marinas <[email protected]>
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 <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
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 */
This page took 0.059494 seconds and 4 git commands to generate.