diff options
author | Simon Glass <sjg@chromium.org> | 2014-04-10 20:01:32 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-05-29 17:49:33 -0400 |
commit | 9272a9b4f637347267329c7dc48712ea6c31feaa (patch) | |
tree | a6fd18846dc2376dc221bd3a903c36fc4c868177 /common/board_r.c | |
parent | b26440f1fa243396000536028ea00e5e185b6b6a (diff) |
m68k: powerpc: Clean up do_mdm_init
This code seems unnecessarily complex. We really just need to check the
global_data. Now that is it all in one place, and not arch-specific, this
is pretty easy.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_r.c')
-rw-r--r-- | common/board_r.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/common/board_r.c b/common/board_r.c index d1f0aa9b1a..602a239380 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -704,17 +704,6 @@ static int initr_kbd(void) } #endif -#ifdef CONFIG_MODEM_SUPPORT -static int initr_modem(void) -{ - /* TODO: with new initcalls, move this into the driver */ - extern int do_mdm_init; - - do_mdm_init = gd->do_mdm_init; - return 0; -} -#endif - static int run_main_loop(void) { #ifdef CONFIG_SANDBOX @@ -929,9 +918,6 @@ init_fnc_t init_sequence_r[] = { #ifdef CONFIG_PS2KBD initr_kbd, #endif -#ifdef CONFIG_MODEM_SUPPORT - initr_modem, -#endif run_main_loop, }; |