From 22a368ce5886528cfc1a1e21c0b00ac4c5c36b64 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Mon, 3 Apr 2023 15:06:43 +0200 Subject: [PATCH] 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. --- include/haproxy/thread.h | 1 - src/thread.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/haproxy/thread.h b/include/haproxy/thread.h index 67ceba30f..b504ab675 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 84d39d7c3..6001f8c44 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";