stdin: Don't set sit->loaded.
authorAndre Noll <maan@systemlinux.org>
Tue, 1 Apr 2008 20:16:23 +0000 (22:16 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 1 Apr 2008 20:16:23 +0000 (22:16 +0200)
It's pointless because the only users of stdin allocate a
static struct for the stdin task.

stdin.c

diff --git a/stdin.c b/stdin.c
index facbf47..b9b2e8b 100644 (file)
--- a/stdin.c
+++ b/stdin.c
@@ -84,7 +84,6 @@ void stdin_set_defaults(struct stdin_task *sit)
        int ret;
 
        sit->bufsize = 16 * 1024,
-       sit->loaded = 0,
        sit->task.pre_select = stdin_pre_select;
        sit->task.post_select = stdin_post_select;
        sprintf(sit->task.status, "stdin reader");