mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-16 14:35:34 +08:00
tc: m_xt: Drop unused variable fw in parse_ipt()
Signed-off-by: Phil Sutter <phil@nwl.cc>
This commit is contained in:
parent
b45f9141c2
commit
b0ba018576
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user