projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45846b
)
stdin: Don't set sit->loaded.
author
Andre Noll
<maan@systemlinux.org>
Tue, 1 Apr 2008 20:16:23 +0000
(22:16 +0200)
committer
Andre 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
patch
|
blob
|
history
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");