Skip to contentSkip to conversation

stdio: Remove stdio_init()

PATCH In review Masahiro Yamada 3 participants 5 messages Jun 6, 2023 – Jul 15, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stdio: Remove stdio_init()

This function is not used by anyone.

---

 common/stdio.c      | 8 --------
 include/stdio_dev.h | 7 -------
 2 files changed, 15 deletions(-)
common/stdio.c +0 -8
index cbedfdda53..894cbd3fb4 100644
@@ -386,11 +386,3 @@ int stdio_add_devices(void)
 
 	return 0;
 }
-
-int stdio_init(void)
-{
-	stdio_init_tables();
-	stdio_add_devices();
-
-	return 0;
-}
include/stdio_dev.h +0 -7
index 3105928970..77bf8a8970 100644
@@ -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);
 
 /**
Signature · 1 line
2.39.2
author Reviewed-by Simon Glass
#3 lore raw
Quoted 5 lines · Tom Rini
Quoted 2 lines · Masahiro Yamada

This function is not used by anyone.

Quoted 7 lines
Quoted 2 lines

Applied to u-boot/next, thanks!

--
Tom

I am pretty much sure I sent this patch
from <[email protected]>.

Then, the Author: field was converted to
my old mail address, which is no longer working.
Why?

commit e0afedb64085d02c7a3b156f77f6c71d0836e583

Author: Masahiro Yamada <[email protected]>
Date:   Tue Jun 6 20:37:42 2023 +0900

stdio: Remove stdio_init()

This function is not used by anyone.

Signature · 2 lines
Best Regards
Masahiro Yamada
#4 lore raw
Quoted 17 lines · Masahiro Yamada
Quoted 5 lines · Tom Rini
Quoted 2 lines · Masahiro Yamada

This function is not used by anyone.

Quoted 7 lines
Quoted 2 lines

Applied to u-boot/next, thanks!

--
Tom

Quoted 8 lines

I am pretty much sure I sent this patch
from <[email protected]>.

Then, the Author: field was converted to
my old mail address, which is no longer working.
Why?

Ah, your .mailmap entries from when Michal added them are backwards, I'll go fix that.

Signature · 1 line
Tom