From c725f9f7a551bf31fd315d66c2a8a7fb8892b911 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 12 Apr 2014 20:21:13 +0200 Subject: [PATCH] ustream: remove unnecessary initialization Signed-off-by: Felix Fietkau --- ustream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ustream.c b/ustream.c index dfbee1a..828a025 100644 --- a/ustream.c +++ b/ustream.c @@ -276,7 +276,7 @@ static bool ustream_prepare_buf(struct ustream *s, struct ustream_buf_list *l, i char *ustream_reserve(struct ustream *s, int len, int *maxlen) { - struct ustream_buf *buf = s->r.head; + struct ustream_buf *buf; if (!ustream_prepare_buf(s, &s->r, len)) { __ustream_set_read_blocked(s, s->read_blocked | READ_BLOCKED_FULL); -- 2.11.0