diff mbox series

stdio: Remove stdio_init()

Message ID 20230606113742.1915346-1-masahiroy@kernel.org
State Accepted
Commit e0afedb64085d02c7a3b156f77f6c71d0836e583
Delegated to: Tom Rini
Headers show
Series stdio: Remove stdio_init() | expand

Commit Message

Masahiro Yamada June 6, 2023, 11:37 a.m. UTC
This function is not used by anyone.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 common/stdio.c      | 8 --------
 include/stdio_dev.h | 7 -------
 2 files changed, 15 deletions(-)

Comments

Simon Glass June 12, 2023, 9:17 p.m. UTC | #1
On Tue, 6 Jun 2023 at 12:39, Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> This function is not used by anyone.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
>
>  common/stdio.c      | 8 --------
>  include/stdio_dev.h | 7 -------
>  2 files changed, 15 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini June 21, 2023, 6:41 p.m. UTC | #2
On Tue, Jun 06, 2023 at 08:37:42PM +0900, Masahiro Yamada wrote:

> This function is not used by anyone.
> 
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/next, thanks!
Masahiro Yamada July 15, 2023, 9:38 a.m. UTC | #3
On Thu, Jun 22, 2023 at 3:41 AM Tom Rini <trini@konsulko.com> wrote:
>
> On Tue, Jun 06, 2023 at 08:37:42PM +0900, Masahiro Yamada wrote:
>
> > This function is not used by anyone.
> >
> > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> > Reviewed-by: Simon Glass <sjg@chromium.org>
>
> Applied to u-boot/next, thanks!
>
> --
> Tom




I am pretty much sure I sent this patch
from <masahiroy@kernel.org>.



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





commit e0afedb64085d02c7a3b156f77f6c71d0836e583
Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Date:   Tue Jun 6 20:37:42 2023 +0900

    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>
Tom Rini July 15, 2023, 2:58 p.m. UTC | #4
On Sat, Jul 15, 2023 at 06:38:38PM +0900, Masahiro Yamada wrote:
> On Thu, Jun 22, 2023 at 3:41 AM Tom Rini <trini@konsulko.com> wrote:
> >
> > On Tue, Jun 06, 2023 at 08:37:42PM +0900, Masahiro Yamada wrote:
> >
> > > This function is not used by anyone.
> > >
> > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> > > Reviewed-by: Simon Glass <sjg@chromium.org>
> >
> > Applied to u-boot/next, thanks!
> >
> > --
> > Tom
> 
> 
> 
> 
> I am pretty much sure I sent this patch
> from <masahiroy@kernel.org>.
> 
> 
> 
> 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.
diff mbox series

Patch

diff --git a/common/stdio.c b/common/stdio.c
index cbedfdda53..894cbd3fb4 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 3105928970..77bf8a8970 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);
 
 /**