]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
datatype: remove unused flags field
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 6 Nov 2024 22:31:06 +0000 (23:31 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 11 Nov 2024 10:39:33 +0000 (11:39 +0100)
Leftover unused struct datatype field, remove it.

Fixes: e35aabd511c4 ("datatype: replace DTYPE_F_ALLOC by bitfield")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/datatype.h

index df3bc3850b51da9d56562e918c134971c5dd7e22..75d6d6b8c62842a0e153b9f44e88adbd236a6996 100644 (file)
@@ -126,7 +126,6 @@ struct parse_ctx;
  *
  * @type:      numeric identifier
  * @byteorder: byteorder of type (non-basetypes only)
- * @flags:     flags
  * @size:      type size (fixed sized non-basetypes only)
  * @subtypes:  number of subtypes (concat type)
  * @name:      type name
@@ -142,7 +141,6 @@ struct datatype {
        uint32_t                        type;
        enum byteorder                  byteorder:8;
        uint32_t                        alloc:1;
-       unsigned int                    flags;
        unsigned int                    size;
        unsigned int                    subtypes;
        const char                      *name;