diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2017-04-24 19:08:16 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-04-28 08:05:03 +0200 |
commit | be5d13bcb2a1f17ff80d1d65ff1a9e31c29dada7 (patch) | |
tree | 0031b53981e12c784aae76cb78d956ccb5ca5a73 /lib/readline_simple.c | |
parent | f655902cfad63b9ba5cea7d0c9fc9c3632143e02 (diff) | |
download | barebox-be5d13bcb2a1f17ff80d1d65ff1a9e31c29dada7.tar.gz barebox-be5d13bcb2a1f17ff80d1d65ff1a9e31c29dada7.tar.xz |
readline_simple: drop unusable u-boot legacy stuff
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/readline_simple.c')
-rw-r--r-- | lib/readline_simple.c | 13 |
1 files changed, 0 insertions, 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(); /* |