Skip to content

Commit 0e7add1

Browse files
committed
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>
1 parent 0cd4761 commit 0e7add1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

arch/arm/mach-versatile/integrator_ap.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,6 @@ struct amba_pl010_data ap_uart_data = {
145145
.set_mctrl = integrator_uart_set_mctrl,
146146
};
147147

148-
void __init ap_init_early(void)
149-
{
150-
}
151-
152148
static void __init ap_init_irq_of(void)
153149
{
154150
cm_init();
@@ -193,7 +189,6 @@ static const char * ap_dt_board_compat[] = {
193189
DT_MACHINE_START(INTEGRATOR_AP_DT, "ARM Integrator/AP (Device Tree)")
194190
.reserve = integrator_reserve,
195191
.map_io = ap_map_io,
196-
.init_early = ap_init_early,
197192
.init_irq = ap_init_irq_of,
198193
.init_machine = ap_init_of,
199194
.dt_compat = ap_dt_board_compat,

0 commit comments

Comments
 (0)