diff mbox

[iproute,5/9] tc: m_xt: Drop unused variable fw in parse_ipt()

Message ID 1465558928-19657-6-git-send-email-phil@nwl.cc
State Accepted, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Phil Sutter June 10, 2016, 11:42 a.m. UTC
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 tc/m_xt.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

diff --git a/tc/m_xt.c b/tc/m_xt.c
index b3731086c717b..c42f3bda4e8f4 100644
--- a/tc/m_xt.c
+++ b/tc/m_xt.c
@@ -120,7 +120,6 @@  static int parse_ipt(struct action_util *a, int *argc_p,
 		     char ***argv_p, int tca_id, struct nlmsghdr *n)
 {
 	struct xtables_target *m = NULL;
-	struct ipt_entry fw;
 	struct rtattr *tail;
 
 	int c;
@@ -189,7 +188,6 @@  static int parse_ipt(struct action_util *a, int *argc_p,
 			break;
 
 		default:
-			memset(&fw, 0, sizeof(fw));
 #if (XTABLES_VERSION_CODE >= 6)
 			if (m != NULL && m->x6_parse != NULL) {
 				xtables_option_tpcall(c, argv, 0, m, NULL);