diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-04-22 15:56:59 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-04-22 15:57:01 +0200 |
commit | 0e7add1e20a0eb7ca3d0576e4a785192f53f5fa5 (patch) | |
tree | b7bcc72ba5014a22356251c307afbd48cda53bb8 /arch/arm/mach-versatile | |
parent | 0cd47616cfbb1422e24414daa5a96637fc5aa663 (diff) |
integrator: remove empty ap_init_early()
The ap_init_early function is defined a global but has no declaration,
so it produces a warning:
arch/arm/mach-versatile/integrator_ap.c:148:13: warning: no previous prototype for 'ap_init_early' [-Wmissing-prototypes
The function could be made 'static' but since it's empty, we can
just remove it.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-versatile')
-rw-r--r-- | arch/arm/mach-versatile/integrator_ap.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-versatile/integrator_ap.c b/arch/arm/mach-versatile/integrator_ap.c index 44a69cc69376..e216fac917d0 100644 --- a/arch/arm/mach-versatile/integrator_ap.c +++ b/arch/arm/mach-versatile/integrator_ap.c @@ -145,10 +145,6 @@ struct amba_pl010_data ap_uart_data = { .set_mctrl = integrator_uart_set_mctrl, }; -void __init ap_init_early(void) -{ -} - static void __init ap_init_irq_of(void) { cm_init(); @@ -193,7 +189,6 @@ static const char * ap_dt_board_compat[] = { DT_MACHINE_START(INTEGRATOR_AP_DT, "ARM Integrator/AP (Device Tree)") .reserve = integrator_reserve, .map_io = ap_map_io, - .init_early = ap_init_early, .init_irq = ap_init_irq_of, .init_machine = ap_init_of, .dt_compat = ap_dt_board_compat, |