* [PATCH] readline_simple: drop unusable u-boot legacy stuff
@ 2017-04-24 16:08 Antony Pavlov
2017-04-25 5:44 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2017-04-24 16:08 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
lib/readline_simple.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/lib/readline_simple.c b/lib/readline_simple.c
index c2960665fb..c4d3d240e5 100644
--- a/lib/readline_simple.c
+++ b/lib/readline_simple.c
@@ -57,19 +57,6 @@ int readline (const char *prompt, char *line, int len)
col = plen;
for (;;) {
-#ifdef CONFIG_BOOT_RETRY_TIME
- while (!tstc()) { /* while no incoming data */
- if (retry_time >= 0 && get_ticks() > endtime)
- return (-2); /* timed out */
- }
-#endif
-
-#ifdef CONFIG_SHOW_ACTIVITY
- while (!tstc()) {
- extern void show_activity(int arg);
- show_activity(0);
- }
-#endif
c = getchar();
/*
--
2.11.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] readline_simple: drop unusable u-boot legacy stuff
2017-04-24 16:08 [PATCH] readline_simple: drop unusable u-boot legacy stuff Antony Pavlov
@ 2017-04-25 5:44 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2017-04-25 5:44 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
On Mon, Apr 24, 2017 at 07:08:16PM +0300, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> ---
> lib/readline_simple.c | 13 -------------
> 1 file changed, 13 deletions(-)
Applied, thanks
Sascha
>
> diff --git a/lib/readline_simple.c b/lib/readline_simple.c
> index c2960665fb..c4d3d240e5 100644
> --- a/lib/readline_simple.c
> +++ b/lib/readline_simple.c
> @@ -57,19 +57,6 @@ int readline (const char *prompt, char *line, int len)
> col = plen;
>
> for (;;) {
> -#ifdef CONFIG_BOOT_RETRY_TIME
> - while (!tstc()) { /* while no incoming data */
> - if (retry_time >= 0 && get_ticks() > endtime)
> - return (-2); /* timed out */
> - }
> -#endif
> -
> -#ifdef CONFIG_SHOW_ACTIVITY
> - while (!tstc()) {
> - extern void show_activity(int arg);
> - show_activity(0);
> - }
> -#endif
> c = getchar();
>
> /*
> --
> 2.11.0
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-25 5:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-24 16:08 [PATCH] readline_simple: drop unusable u-boot legacy stuff Antony Pavlov
2017-04-25 5:44 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox