From: Amaury Denoyelle Date: Mon, 3 Apr 2023 13:06:43 +0000 (+0200) Subject: CLEANUP: quic: remove unused QUIC_LOCK label X-Git-Tag: v2.8-dev8~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22a368ce5886528cfc1a1e21c0b00ac4c5c36b64;p=thirdparty%2Fhaproxy.git CLEANUP: quic: remove unused QUIC_LOCK label QUIC_LOCK label is never used. Indeed, lock usage is minimal on QUIC as every connection is pinned to its owned thread. This should be backported up to 2.7. --- diff --git a/include/haproxy/thread.h b/include/haproxy/thread.h index 67ceba30fa..b504ab675e 100644 --- a/include/haproxy/thread.h +++ b/include/haproxy/thread.h @@ -423,7 +423,6 @@ enum lock_label { SSL_SERVER_LOCK, SFT_LOCK, /* sink forward target */ IDLE_CONNS_LOCK, - QUIC_LOCK, OCSP_LOCK, OTHER_LOCK, /* WT: make sure never to use these ones outside of development, diff --git a/src/thread.c b/src/thread.c index 84d39d7c3f..6001f8c443 100644 --- a/src/thread.c +++ b/src/thread.c @@ -442,7 +442,6 @@ static const char *lock_label(enum lock_label label) case SSL_SERVER_LOCK: return "SSL_SERVER"; case SFT_LOCK: return "SFT"; case IDLE_CONNS_LOCK: return "IDLE_CONNS"; - case QUIC_LOCK: return "QUIC"; case OCSP_LOCK: return "OCSP"; case OTHER_LOCK: return "OTHER"; case DEBUG1_LOCK: return "DEBUG1";