]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: mux-quic: remove unused attribute on qcs_is_close_remote()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 9 Dec 2022 15:26:03 +0000 (16:26 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 12 Dec 2022 13:54:39 +0000 (14:54 +0100)
qcs_is_close_remote() is used in qcc_decode_qcs(). Thus the unused
function attribute is now unneeded.

This can be backported up to 2.7.

src/mux_quic.c

index 89da1e6971c114c061045536273c357001d2c0b1..9d7bcf5f967ec799374d9c200a00a94e7939d504 100644 (file)
@@ -373,7 +373,7 @@ static int qcs_is_close_local(struct qcs *qcs)
        return qcs->st == QC_SS_HLOC || qcs->st == QC_SS_CLO;
 }
 
-static __maybe_unused int qcs_is_close_remote(struct qcs *qcs)
+static int qcs_is_close_remote(struct qcs *qcs)
 {
        return qcs->st == QC_SS_HREM || qcs->st == QC_SS_CLO;
 }