From: Pablo Neira Ayuso Date: Wed, 6 Nov 2024 22:31:06 +0000 (+0100) Subject: datatype: remove unused flags field X-Git-Tag: v1.1.2~120 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e0b74fae4d5f15c48ccabfe2fe147a78a5341d6;p=thirdparty%2Fnftables.git datatype: remove unused flags field Leftover unused struct datatype field, remove it. Fixes: e35aabd511c4 ("datatype: replace DTYPE_F_ALLOC by bitfield") Signed-off-by: Pablo Neira Ayuso --- diff --git a/include/datatype.h b/include/datatype.h index df3bc385..75d6d6b8 100644 --- a/include/datatype.h +++ b/include/datatype.h @@ -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;