ustream: remove unnecessary initialization
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
93a4cb92c1
commit
c725f9f7a5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
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)) {
|
if (!ustream_prepare_buf(s, &s->r, len)) {
|
||||||
__ustream_set_read_blocked(s, s->read_blocked | READ_BLOCKED_FULL);
|
__ustream_set_read_blocked(s, s->read_blocked | READ_BLOCKED_FULL);
|
||||||
|
|
Loading…
Reference in a new issue