diff mbox

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

Message ID 1461737811-6020-1-git-send-email-aardelean@riverbed.com
State Accepted
Delegated to: Jo-Philipp Wich
Headers show

Commit Message

Alexandru Ardelean April 27, 2016, 6:16 a.m. UTC
From: Alexandru Ardelean <ardeleanalex@gmail.com>

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

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

Comments

Jo-Philipp Wich April 27, 2016, 6:22 a.m. UTC | #1
Hi Alexandru,

pushed to master - thanks!

~ Jo

On 27.04.2016 08:16, Alexandru Ardelean wrote:
> From: Alexandru Ardelean <ardeleanalex@gmail.com>
> 
> Since commit 60f1444 , this struct is no longer used.
> 
> Signed-off-by: Alexandru Ardelean <ardeleanalex@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)
>
diff mbox

Patch

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)