From 3b45609699cebbc20178b435f30adbab14d9e42a Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 1 Apr 2008 22:16:23 +0200 Subject: [PATCH] stdin: Don't set sit->loaded. It's pointless because the only users of stdin allocate a static struct for the stdin task. --- stdin.c | 1 - 1 file changed, 1 deletion(-) diff --git a/stdin.c b/stdin.c index facbf473..b9b2e8bf 100644 --- 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"); -- 2.39.5