From c0f110ac9cdcfaf276d7b346e31a3a2097569856 Mon Sep 17 00:00:00 2001 From: Frederic Lecaille Date: Thu, 30 Jul 2026 11:10:12 +0200 Subject: [PATCH] CLEANUP: haload: drop unused flags field from struct hld_url Remove the dead flags member from struct hld_url and clean up its unused initialization in hld_new_usr(). --- include/haproxy/haload.h | 1 - src/haload.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/haproxy/haload.h b/include/haproxy/haload.h index bc345a9b8..028823715 100644 --- a/include/haproxy/haload.h +++ b/include/haproxy/haload.h @@ -29,7 +29,6 @@ struct hld_url_cfg { struct hld_url { int mreqs; - int flags; uint64_t tot_req; uint64_t tot_rconn_done; uint64_t tot_rconn_sent; diff --git a/src/haload.c b/src/haload.c index ee8ebe470..fee354507 100644 --- a/src/haload.c +++ b/src/haload.c @@ -1598,7 +1598,6 @@ static inline struct hld_usr *hld_new_usr(int nreqs, int tid) url->tot_rconn_done = 0; url->tot_rconn_sent = 0; url->mreqs = arg_mreqs; - url->flags = 0; url->cfg = cfg; url->next = usr->urls; usr->urls = url; -- 2.47.3