From c6c708a440617af2e46ab159c203e7166f189293 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 30 Apr 2013 19:40:41 +0200 Subject: [PATCH] Remove referenced to unused FW3_FLAG_DELETED flag --- ipsets.c | 3 +-- options.h | 1 - zones.c | 6 ++---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ipsets.c b/ipsets.c index baa0949..430cf74 100644 --- a/ipsets.c +++ b/ipsets.c @@ -364,8 +364,7 @@ fw3_create_ipsets(struct fw3_state *state) return; list_for_each_entry(ipset, &state->ipsets, list) - if (!hasbit(ipset->flags[0], FW3_FLAG_DELETED)) - create_ipset(ipset, state); + create_ipset(ipset, state); fw3_pr("quit\n"); } diff --git a/options.h b/options.h index 0ce9152..734d185 100644 --- a/options.h +++ b/options.h @@ -79,7 +79,6 @@ enum fw3_flag FW3_FLAG_MTU_FIX = 18, FW3_FLAG_DROP_INVALID = 19, FW3_FLAG_HOTPLUG = 20, - FW3_FLAG_DELETED = 21, __FW3_FLAG_MAX }; diff --git a/zones.c b/zones.c index d5d945b..55f2e6c 100644 --- a/zones.c +++ b/zones.c @@ -487,8 +487,7 @@ fw3_print_zone_chains(struct fw3_state *state, enum fw3_family family, struct fw3_zone *zone; list_for_each_entry(zone, &state->zones, list) - if (!hasbit(zone->flags[0], FW3_FLAG_DELETED)) - print_zone_chain(state, family, table, reload, zone); + print_zone_chain(state, family, table, reload, zone); } void @@ -498,8 +497,7 @@ fw3_print_zone_rules(struct fw3_state *state, enum fw3_family family, struct fw3_zone *zone; list_for_each_entry(zone, &state->zones, list) - if (!hasbit(zone->flags[0], FW3_FLAG_DELETED)) - print_zone_rule(state, family, table, reload, zone); + print_zone_rule(state, family, table, reload, zone); } void -- 2.25.1