Commit 205d67c7 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso Committed by David S. Miller

[NETFILTER]: ctnetlink: remove unused variable

Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d4d6bb41
...@@ -1203,7 +1203,6 @@ static int ctnetlink_expect_event(struct notifier_block *this, ...@@ -1203,7 +1203,6 @@ static int ctnetlink_expect_event(struct notifier_block *this,
unsigned int type; unsigned int type;
unsigned char *b; unsigned char *b;
int flags = 0; int flags = 0;
u16 proto;
if (events & IPEXP_NEW) { if (events & IPEXP_NEW) {
type = IPCTNL_MSG_EXP_NEW; type = IPCTNL_MSG_EXP_NEW;
...@@ -1230,7 +1229,6 @@ static int ctnetlink_expect_event(struct notifier_block *this, ...@@ -1230,7 +1229,6 @@ static int ctnetlink_expect_event(struct notifier_block *this,
goto nfattr_failure; goto nfattr_failure;
nlh->nlmsg_len = skb->tail - b; nlh->nlmsg_len = skb->tail - b;
proto = exp->tuple.dst.protonum;
nfnetlink_send(skb, 0, NFNLGRP_CONNTRACK_EXP_NEW, 0); nfnetlink_send(skb, 0, NFNLGRP_CONNTRACK_EXP_NEW, 0);
return NOTIFY_DONE; return NOTIFY_DONE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment