]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: mux-fcgi: Remove the unused function fcgi_strm_id()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 24 Sep 2019 12:10:59 +0000 (14:10 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 24 Sep 2019 12:11:01 +0000 (14:11 +0200)
This patch partially fixes the issue #295.

src/mux_fcgi.c

index ea8e48ba17d6b6c3ecc1edf0701df72b3d46d66e..ceff7fa623d39ea766e670463bd6f5aadd83adff 100644 (file)
@@ -613,12 +613,6 @@ static inline int fcgi_conn_is_dead(struct fcgi_conn *fconn)
 /* functions below are for the FCGI protocol processing */
 /********************************************************/
 
-/* Returns the stream if of stream <fstrm> or 0 if <strm> is NULL */
-static inline int fcgi_strm_id(const struct fcgi_strm *fstrm)
-{
-       return (fstrm ? fstrm->id : 0);
-}
-
 /* Marks an error on the stream. */
 static inline void fcgi_strm_error(struct fcgi_strm *fstrm)
 {