]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: global: remove unused definition of stopping_task[]
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Jun 2021 09:39:57 +0000 (11:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Jun 2021 14:52:42 +0000 (16:52 +0200)
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.

include/haproxy/global.h

index a095a5268bbe2d6b448eedef40a60c397c6127ff..515963646dac0d022ae2167d7010900fe5636030 100644 (file)
@@ -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);