From: Christopher Faulet Date: Tue, 24 Sep 2019 12:10:59 +0000 (+0200) Subject: CLEANUP: mux-fcgi: Remove the unused function fcgi_strm_id() X-Git-Tag: v2.1-dev2~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82c798a082422f7cc7c96db772e0dc2ab71b2cb3;p=thirdparty%2Fhaproxy.git CLEANUP: mux-fcgi: Remove the unused function fcgi_strm_id() This patch partially fixes the issue #295. --- diff --git a/src/mux_fcgi.c b/src/mux_fcgi.c index ea8e48ba17..ceff7fa623 100644 --- a/src/mux_fcgi.c +++ b/src/mux_fcgi.c @@ -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 or 0 if 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) {