]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: buffer: remove unused bo_add()
authorWilly Tarreau <w@1wt.eu>
Mon, 9 Jul 2018 08:20:16 +0000 (10:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jul 2018 14:23:42 +0000 (16:23 +0200)
We don't need this function anymore.

include/common/buf.h

index 4632a3346715a42b75a4677feee6c474d82100ac..d9de0734fcab12b259bb45259ba1be481fea7b29 100644 (file)
@@ -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 <count>
- * (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)
 {