From: Christopher Faulet Date: Thu, 5 Oct 2023 09:24:54 +0000 (+0200) Subject: CLEAN: mux-h1: Remove useless __maybe_unused attribute on h1_make_chunk() X-Git-Tag: v2.9-dev8~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=169df3b3a8e88449cc939650868e9e219dd611cb;p=thirdparty%2Fhaproxy.git CLEAN: mux-h1: Remove useless __maybe_unused attribute on h1_make_chunk() This attribute was added during the dev stage. But it is useless now the function is used. So, just remove it. --- diff --git a/src/mux_h1.c b/src/mux_h1.c index d098c1b29e..500d4c0aa9 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -3000,7 +3000,7 @@ static size_t h1_make_trailers(struct h1s *h1s, struct h1m *h1m, struct htx *htx /* Try to send the header for a chunk of bytes. It returns the number of * bytes consumed or zero if nothing was done or if an error occurred.. */ -static __maybe_unused size_t h1_make_chunk(struct h1s *h1s, struct h1m * h1m, size_t len) +static size_t h1_make_chunk(struct h1s *h1s, struct h1m * h1m, size_t len) { struct h1c *h1c = h1s->h1c; struct buffer outbuf;