[PATCH 26/78] ARM: remove function prototypes from the past
Sascha Hauer
s.hauer at pengutronix.de
Fri Mar 16 05:53:02 PDT 2018
Several functions do not exist anymore for a long time now. Remove their
prototypes.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/include/asm/barebox-arm.h | 8 --------
arch/openrisc/cpu/cpu.c | 5 -----
2 files changed, 13 deletions(-)
diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h
index 9fc8afbe7d..6c7507a9c7 100644
--- a/arch/arm/include/asm/barebox-arm.h
+++ b/arch/arm/include/asm/barebox-arm.h
@@ -32,16 +32,8 @@
#include <linux/compiler.h>
#include <asm/barebox-arm-head.h>
-/* cpu/.../cpu.c */
-int cleanup_before_linux(void);
-
-/* arch/<arch>board(s)/.../... */
-int board_init(void);
-int dram_init (void);
-
extern char __exceptions_start[], __exceptions_stop[];
-void board_init_lowlevel(void);
unsigned long get_runtime_offset(void);
/* global_variable_offset() - Access global variables when not running at link address
diff --git a/arch/openrisc/cpu/cpu.c b/arch/openrisc/cpu/cpu.c
index e7f944555e..cae42d41b8 100644
--- a/arch/openrisc/cpu/cpu.c
+++ b/arch/openrisc/cpu/cpu.c
@@ -23,11 +23,6 @@
#include <asm/system.h>
#include <asm/openrisc_exc.h>
-int cleanup_before_linux(void)
-{
- return 0;
-}
-
extern void __reset(void);
static void __noreturn openrisc_restart_cpu(struct restart_handler *rst)
--
2.16.1
More information about the barebox
mailing list