Browse Source

MT#55283 remove pointless struct

There are no extra fields here, so no point in having a struct

Change-Id: I00f38ecfb70cb5108f0822b6059c3d7189865c32
pull/1802/head
Richard Fuchs 2 years ago
parent
commit
e437c06a41
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      daemon/nftables.c

+ 2
- 6
daemon/nftables.c View File

@ -38,16 +38,12 @@ struct iterate_callbacks {
// scratch area for rule callbacks, set to zero for every rule // scratch area for rule callbacks, set to zero for every rule
union { union {
struct {
bool match_immediate:1;
};
bool match_immediate;
} rule_scratch; } rule_scratch;
// scratch area for rule iterating // scratch area for rule iterating
union { union {
struct {
GQueue handles;
};
GQueue handles;
} iterate_scratch; } iterate_scratch;
}; };


Loading…
Cancel
Save