diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-06 20:37:42 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-06-20 20:56:27 -0400 |
commit | e0afedb64085d02c7a3b156f77f6c71d0836e583 (patch) | |
tree | 0b3f51fa191adfdebf32a613735bc22e00265fac | |
parent | 1b086da5cd7fc66d3ef4e096ade3fabdde99c9e0 (diff) | |
download | u-boot-e0afedb64085d02c7a3b156f77f6c71d0836e583.tar.gz |
stdio: Remove stdio_init()
This function is not used by anyone.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | common/stdio.c | 8 | ||||
-rw-r--r-- | include/stdio_dev.h | 7 |
2 files changed, 0 insertions, 15 deletions
diff --git a/common/stdio.c b/common/stdio.c index cbedfdda539..894cbd3fb44 100644 --- a/common/stdio.c +++ b/common/stdio.c @@ -386,11 +386,3 @@ int stdio_add_devices(void) return 0; } - -int stdio_init(void) -{ - stdio_init_tables(); - stdio_add_devices(); - - return 0; -} diff --git a/include/stdio_dev.h b/include/stdio_dev.h index 3105928970d..77bf8a8970f 100644 --- a/include/stdio_dev.h +++ b/include/stdio_dev.h @@ -84,13 +84,6 @@ int stdio_init_tables(void); */ int stdio_add_devices(void); -/** - * stdio_init() - Sets up stdio ready for use - * - * This calls stdio_init_tables() and stdio_add_devices() - */ -int stdio_init(void); - void stdio_print_current_devices(void); /** |