From: Willy Tarreau Date: Mon, 9 Jul 2018 08:20:16 +0000 (+0200) Subject: MINOR: buffer: remove unused bo_add() X-Git-Tag: v1.9-dev1~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdabbe243d5e75d9f2aa9e9dd4e9fb9af2c0aa0c;p=thirdparty%2Fhaproxy.git MINOR: buffer: remove unused bo_add() We don't need this function anymore. --- diff --git a/include/common/buf.h b/include/common/buf.h index 4632a33467..d9de0734fc 100644 --- a/include/common/buf.h +++ b/include/common/buf.h @@ -396,14 +396,6 @@ static inline void b_add(struct buffer *b, size_t count) b->i += count; } -/* bo_add() : increase the buffer output and length by - * (LEGACY API) - */ -static inline void bo_add(struct buffer *b, size_t count) -{ - b->o += count; -} - /* b_set_data() : sets the buffer's length */ static inline void b_set_data(struct buffer *b, size_t len) {