summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@savoirfairelinux.com>2017-08-07 18:10:42 -0400
committerLucas Stach <l.stach@pengutronix.de>2017-08-15 15:39:11 +0200
commitb77b68f9257d74d72c4ed528cc0aacd398499ead (patch)
tree5b8aaa98b67df93fed791153c25b846ed87a8911 /lib
parenteb06f54b3a2ebbdf09b2d53d787f8d9ed35adff5 (diff)
downloadbarebox-b77b68f9257d74d72c4ed528cc0aacd398499ead.tar.gz
barebox-b77b68f9257d74d72c4ed528cc0aacd398499ead.tar.xz
readline_simple: remove obsolete documentation
The readline function does not return timed-out anymore since the commit: be5d13bcb readline_simple: drop unusable u-boot legacy stuff Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/readline_simple.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/readline_simple.c b/lib/readline_simple.c
index 1283c96021..80e075bc5c 100644
--- a/lib/readline_simple.c
+++ b/lib/readline_simple.c
@@ -35,11 +35,8 @@ static char * delete_char (char *buffer, char *p, int *colp, int *np, int plen)
/*
* Prompt for input and read a line.
- * If CONFIG_BOOT_RETRY_TIME is defined and retry_time >= 0,
- * time out when time goes past endtime (timebase time in ticks).
* Return: number of read characters
* -1 if break
- * -2 if timed out
*/
int readline (const char *prompt, char *line, int len)
{