stdio: Remove stdio_init()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 6 Jun 2023 11:37:42 +0000 (20:37 +0900)
committerTom Rini <trini@konsulko.com>
Wed, 21 Jun 2023 00:56:27 +0000 (20:56 -0400)
This function is not used by anyone.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/stdio.c
include/stdio_dev.h

index cbedfdd..894cbd3 100644 (file)
@@ -386,11 +386,3 @@ int stdio_add_devices(void)
 
        return 0;
 }
-
-int stdio_init(void)
-{
-       stdio_init_tables();
-       stdio_add_devices();
-
-       return 0;
-}
index 3105928..77bf8a8 100644 (file)
@@ -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);
 
 /**