From 0fd5944d521207171d08def9e0a8a1ee49e6359e Mon Sep 17 00:00:00 2001 From: Herve Codina Date: Mon, 6 Jul 2015 09:36:46 +0200 Subject: exitcall: move board_shutdown to exitcall infrastructure Signed-off-by: Herve Codina Signed-off-by: Sascha Hauer --- common/startup.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'common/startup.c') diff --git a/common/startup.c b/common/startup.c index 10770e76b2..802b90e0e8 100644 --- a/common/startup.c +++ b/common/startup.c @@ -135,8 +135,6 @@ void __noreturn hang (void) for (;;); } -void (*board_shutdown)(void); - /* Everything needed to cleanly shutdown barebox. * Should be called before starting an OS to get * the devices into a clean state @@ -150,7 +148,4 @@ void shutdown_barebox(void) pr_debug("exitcall-> %pS\n", *exitcall); (*exitcall)(); } - - if (board_shutdown) - board_shutdown(); } -- cgit v1.2.3