diff --git a/include/common/buf.h b/include/common/buf.h index a7bbb1f0c..1ad00523c 100644 --- a/include/common/buf.h +++ b/include/common/buf.h @@ -484,15 +484,6 @@ static inline size_t b_putblk(struct buffer *b, const char *blk, size_t len) return len; } -/* b_putstr() : tries to copy string into output data at buffer . - * Supports wrapping. Data are truncated if buffer is too short. It returns the - * number of bytes copied. - */ -static inline size_t b_putstr(struct buffer *b, const char *str) -{ - return b_putblk(b, str, strlen(str)); -} - #endif /* _COMMON_BUF_H */