[OpenWrt-Devel] [PATCH] [firewall3] defaults.c: remove toplevel_rule struct

Alexandru Ardelean ardeleanalex at gmail.com
Wed Apr 27 02:16:51 EDT 2016


From: Alexandru Ardelean <ardeleanalex at gmail.com>

Since commit 60f1444 , this struct is no longer used.

Signed-off-by: Alexandru Ardelean <ardeleanalex at gmail.com>
---
 defaults.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/defaults.c b/defaults.c
index e246949..3d210f9 100644
--- a/defaults.c
+++ b/defaults.c
@@ -164,13 +164,6 @@ fw3_print_default_chains(struct fw3_ipt_handle *handle, struct fw3_state *state,
 	set(defs->flags, handle->family, handle->table);
 }
 
-
-struct toplevel_rule {
-	enum fw3_table table;
-	const char *chain;
-	const char *target;
-};
-
 void
 fw3_print_default_head_rules(struct fw3_ipt_handle *handle,
                              struct fw3_state *state, bool reload)
-- 
2.8.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list