Browse Source

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>
Masahiro Yamada 1 year ago
parent
commit
e0afedb640
2 changed files with 0 additions and 15 deletions
  1. 0 8
      common/stdio.c
  2. 0 7
      include/stdio_dev.h

+ 0 - 8
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;
-}

+ 0 - 7
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);
 
 /**