From e437c06a41f5700a5920482b37695db083ec32cd Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 15 Feb 2024 14:26:19 -0500 Subject: [PATCH] MT#55283 remove pointless struct There are no extra fields here, so no point in having a struct Change-Id: I00f38ecfb70cb5108f0822b6059c3d7189865c32 --- daemon/nftables.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/daemon/nftables.c b/daemon/nftables.c index ed8dbd66f..2b88c6b3c 100644 --- a/daemon/nftables.c +++ b/daemon/nftables.c @@ -38,16 +38,12 @@ struct iterate_callbacks { // scratch area for rule callbacks, set to zero for every rule union { - struct { - bool match_immediate:1; - }; + bool match_immediate; } rule_scratch; // scratch area for rule iterating union { - struct { - GQueue handles; - }; + GQueue handles; } iterate_scratch; };