From 98e110dae5273c6f32b57847e58e0744e4a6bc76 Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Sun, 30 Aug 2020 21:48:11 +0200 Subject: [PATCH] Revert "inittime" This reverts commit 468478fbf79656f6f6c70b8c6340a6d5176ea189. --- include/initcall.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/initcall.h b/include/initcall.h index 835b556cc66..41b74dc52d2 100644 --- a/include/initcall.h +++ b/include/initcall.h @@ -6,15 +6,12 @@ #ifndef __INITCALL_H #define __INITCALL_H -#define DEBUG - typedef int (*init_fnc_t)(void); #include #ifdef CONFIG_EFI_APP #include #endif -#include /* * To enable debugging. add #define DEBUG at the top of the including file. @@ -45,8 +42,6 @@ static inline int initcall_run_list(const init_fnc_t init_sequence[]) else debug("initcall: %p\n", (char *)*init_fnc_ptr - reloc_ofs); - printf("%lu: initcall %p\n", timer_get_us(), (char *)*init_fnc_ptr - reloc_ofs); - ret = (*init_fnc_ptr)(); if (ret) { printf("initcall sequence %p failed at call %p (err=%d)\n",