]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: pattern: remove unused entry "tree" in pattern.val
authorWilly Tarreau <w@1wt.eu>
Sun, 1 Nov 2020 20:14:39 +0000 (21:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Nov 2020 10:32:05 +0000 (11:32 +0100)
This one might have disappeared since patterns were reworked, but the
entry was not removed from the structure, let's do it now.

include/haproxy/pattern-t.h

index b164250a3ad68ef2e9aa37edf863e540265adfe1..d5c2adc5a768d9bbfc91f3fa9792c3d88334ed3c 100644 (file)
@@ -153,7 +153,6 @@ struct pattern {
                        struct in6_addr addr;
                        unsigned char mask;     /* number of bits */
                } ipv6;                         /* IPv6 address/mask */
-               struct eb_root *tree;           /* tree storing all values if any */
        } val;                                  /* direct value */
        union {
                void *ptr;              /* any data */