From: Willy Tarreau Date: Tue, 15 Jun 2021 09:39:57 +0000 (+0200) Subject: CLEANUP: global: remove unused definition of stopping_task[] X-Git-Tag: v2.5-dev1~123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c6a80231f14bec411272a7b8ad4ae79b6364bae;p=thirdparty%2Fhaproxy.git CLEANUP: global: remove unused definition of stopping_task[] This is a leftover of a previous attempt that was introduced in 2.4 by commit d3a88c1c3 ("MEDIUM: connection: close front idling connection on soft-stop"). It can be backported, as the variable doesn't exist. --- diff --git a/include/haproxy/global.h b/include/haproxy/global.h index a095a5268b..515963646d 100644 --- a/include/haproxy/global.h +++ b/include/haproxy/global.h @@ -55,8 +55,6 @@ extern int atexit_flag; extern unsigned char boot_seed[20]; // per-boot random seed (160 bits initially) extern THREAD_LOCAL struct buffer trash; -extern struct task *stopping_task[MAX_PROCS]; - struct proxy; struct server; int main(int argc, char **argv);