summaryrefslogtreecommitdiffstats
path: root/include/nftables.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2024-12-09 01:23:08 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2025-01-02 19:58:11 +0100
commit84360b2ab9960076c02cca9cfed0edce7bfadb17 (patch)
tree31278ba8cdba92374a3d1b42815dac106e7dfe13 /include/nftables.h
parent20b35f962235a55afb8d284f6c686ac5e23fd9ca (diff)
src: remove unused token_offset from struct location
This saves 8 bytes in x86_64 in struct location which is embedded in every expression. This shrinks struct expr to 120 bytes according to pahole. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/nftables.h')
-rw-r--r--include/nftables.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/nftables.h b/include/nftables.h
index c25deb36..7d891b43 100644
--- a/include/nftables.h
+++ b/include/nftables.h
@@ -158,7 +158,6 @@ struct location {
const struct input_descriptor *indesc;
union {
struct {
- off_t token_offset;
off_t line_offset;
unsigned int first_line;