Skip to content

Commit 0a6479b

Browse files
glevandctmarinas
authored andcommitted
arm64: Remove unneeded extern keyword
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>
1 parent c8fdd49 commit 0a6479b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/arm64/include/asm/cpu_ops.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ struct cpu_operations {
6464
};
6565

6666
extern const struct cpu_operations *cpu_ops[NR_CPUS];
67-
extern int __init cpu_read_ops(struct device_node *dn, int cpu);
68-
extern void __init cpu_read_bootcpu_ops(void);
67+
int __init cpu_read_ops(struct device_node *dn, int cpu);
68+
void __init cpu_read_bootcpu_ops(void);
6969

7070
#endif /* ifndef __ASM_CPU_OPS_H */

0 commit comments

Comments
 (0)