All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] console: cosmetics: remove #if 0
@ 2020-12-02 14:16 Patrick Delaunay
  2020-12-02 22:21 ` Simon Glass
  2021-01-18 13:01 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Patrick Delaunay @ 2020-12-02 14:16 UTC (permalink / raw)
  To: u-boot

Remove the #if 0 present since the first version of console.c

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
---

 common/console.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/common/console.c b/common/console.c
index 3348436da6..d9dfd61ac3 100644
--- a/common/console.c
+++ b/common/console.c
@@ -929,11 +929,6 @@ done:
 
 	gd->flags |= GD_FLG_DEVINIT;	/* device initialization completed */
 
-#if 0
-	/* If nothing usable installed, use only the initial console */
-	if ((stdio_devices[stdin] == NULL) && (stdio_devices[stdout] == NULL))
-		return 0;
-#endif
 	print_pre_console_buffer(flushpoint);
 	return 0;
 }
@@ -1012,11 +1007,6 @@ int console_init_r(void)
 
 	gd->flags |= GD_FLG_DEVINIT;	/* device initialization completed */
 
-#if 0
-	/* If nothing usable installed, use only the initial console */
-	if ((stdio_devices[stdin] == NULL) && (stdio_devices[stdout] == NULL))
-		return 0;
-#endif
 	print_pre_console_buffer(flushpoint);
 	return 0;
 }
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] console: cosmetics: remove #if 0
  2020-12-02 14:16 [PATCH] console: cosmetics: remove #if 0 Patrick Delaunay
@ 2020-12-02 22:21 ` Simon Glass
  2021-01-18 13:01 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2020-12-02 22:21 UTC (permalink / raw)
  To: u-boot

On Wed, 2 Dec 2020 at 07:16, Patrick Delaunay <patrick.delaunay@st.com> wrote:
>
> Remove the #if 0 present since the first version of console.c
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
>
>  common/console.c | 10 ----------
>  1 file changed, 10 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] console: cosmetics: remove #if 0
  2020-12-02 14:16 [PATCH] console: cosmetics: remove #if 0 Patrick Delaunay
  2020-12-02 22:21 ` Simon Glass
@ 2021-01-18 13:01 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2021-01-18 13:01 UTC (permalink / raw)
  To: u-boot

On Wed, Dec 02, 2020 at 03:16:13PM +0100, Patrick Delaunay wrote:

> Remove the #if 0 present since the first version of console.c
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210118/70035c87/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-18 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 14:16 [PATCH] console: cosmetics: remove #if 0 Patrick Delaunay
2020-12-02 22:21 ` Simon Glass
2021-01-18 13:01 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.