]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: map: it seems that the map were planed to be chained
authorThierry Fournier <tfournier@arpalert.org>
Wed, 2 Mar 2016 07:36:14 +0000 (08:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Mar 2016 13:41:15 +0000 (15:41 +0200)
It seems that the map were planed to be chained, but obviously
it is not the case. This patch remove the struct which should
be used gor the chain

include/types/map.h

index c2e251bd6325cd689006675055e3753d844ef1de..cea5aa55d49a534386a8376cd83c52ba7ead5eaf 100644 (file)
 #include <types/pattern.h>
 #include <types/sample.h>
 
-/* These structs contains a string representation of the map. These struct is
- * sorted by file. Permit to hot-add and hot-remove entries.
- *
- * "maps" is the list head. This list cotains all the mao file name identifier.
- */
-extern struct list maps;
-
 struct map_descriptor {
-       struct list list;              /* used for listing */
        struct sample_conv *conv;      /* original converter descriptor */
        struct pattern_head pat;       /* the pattern matching associated to the map */
        int do_free;                   /* set if <pat> is the orignal pat and must be freed */