From fdabbe243d5e75d9f2aa9e9dd4e9fb9af2c0aa0c Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 9 Jul 2018 10:20:16 +0200 Subject: [PATCH] MINOR: buffer: remove unused bo_add() We don't need this function anymore. --- include/common/buf.h | 8 -------- 1 file changed, 8 deletions(-) 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) { -- 2.39.5