]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: backend: removing unused LB param
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 15 Nov 2023 09:44:32 +0000 (10:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 18 Nov 2023 10:16:21 +0000 (11:16 +0100)
BE_LB_HASH_RND was introduced with 760e81d35 ("MINOR: backend: implement
random-based load balancing") but was never used since. Removing it
to regain an extra slot for future types.

include/haproxy/backend-t.h

index 8d59738711a2344789a00efffd62b10f888b58f6..5d1560ac343e083dcdf34b9867fac5de33e5946f 100644 (file)
@@ -48,7 +48,6 @@
 #define BE_LB_HASH_HDR  0x00003  /* hash HTTP header value */
 #define BE_LB_HASH_RDP  0x00004  /* hash RDP cookie value */
 #define BE_LB_HASH_SMP  0x00005  /* hash a sample expression */
-#define BE_LB_HASH_RND  0x00008  /* hash a random value */
 
 /* BE_LB_RR_* is used with BE_LB_KIND_RR */
 #define BE_LB_RR_DYN    0x00000  /* dynamic round robin (default) */