projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93a4cb9
)
ustream: remove unnecessary initialization
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 12 Apr 2014 18:21:13 +0000
(20:21 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 12 Apr 2014 18:21:13 +0000
(20:21 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ustream.c
patch
|
blob
|
history
diff --git
a/ustream.c
b/ustream.c
index dfbee1a9c49dd486741c0eb4e67778bed9428d74..828a025b267bc30ba250d589842c1bd4ab6cb734 100644
(file)
--- 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);