diff --git a/include/common/buf.h b/include/common/buf.h index 6eec42292..b223b21fa 100644 --- a/include/common/buf.h +++ b/include/common/buf.h @@ -385,8 +385,6 @@ static inline void b_add(struct buffer *b, size_t count) /* b_set_data() : sets the buffer's length */ static inline void b_set_data(struct buffer *b, size_t len) { - if (len < b->output) - b->output = len; b->len = len; }