MINOR: buffer: remove bo_end()

It was replaced by either b_tail() when the buffer has no input data, or
b_peek(b, b->o).
diff --git a/include/common/buffer.h b/include/common/buffer.h
index fcb61f3..9e1f25f 100644
--- a/include/common/buffer.h
+++ b/include/common/buffer.h
@@ -117,12 +117,6 @@
 	return ret;
 }
 
-/* Returns the end of the output data in a buffer */
-static inline char *bo_end(const struct buffer *b)
-{
-	return b->p;
-}
-
 /* Returns the amount of output data that can contiguously be read at once */
 static inline int bo_contig_data(const struct buffer *b)
 {
diff --git a/src/h1.c b/src/h1.c
index d3a20c2..ddc7daf 100644
--- a/src/h1.c
+++ b/src/h1.c
@@ -1220,7 +1220,7 @@
 	while (1) {
 		const char *p1 = NULL, *p2 = NULL;
 		const char *start = b_ptr(buf, (int)(count - buf->o));
-		const char *stop  = bo_end(buf);
+		const char *stop  = b_peek(buf, buf->o);
 		const char *ptr   = start;
 		int bytes = 0;
 
diff --git a/src/mux_h2.c b/src/mux_h2.c
index afd33cb..5a7af54 100644
--- a/src/mux_h2.c
+++ b/src/mux_h2.c
@@ -2988,7 +2988,7 @@
 	chunk_reset(&outbuf);
 
 	while (1) {
-		outbuf.str  = bo_end(h2c->mbuf);
+		outbuf.str  = b_tail(h2c->mbuf);
 		outbuf.size = bo_contig_space(h2c->mbuf);
 		outbuf.len = 0;
 
@@ -3146,7 +3146,7 @@
 	chunk_reset(&outbuf);
 
 	while (1) {
-		outbuf.str  = bo_end(h2c->mbuf);
+		outbuf.str  = b_tail(h2c->mbuf);
 		outbuf.size = bo_contig_space(h2c->mbuf);
 		outbuf.len = 0;