From: Pablo Neira Ayuso Date: Thu, 5 Jan 2006 20:18:44 +0000 (-0800) Subject: [NETFILTER]: ctnetlink: remove unused variable X-Git-Tag: upstream/snapshot3+hdmi~43593^2~16^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=205d67c7d942c057648148fefb17e46f77e3efd6;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [NETFILTER]: ctnetlink: remove unused variable Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/ipv4/netfilter/ip_conntrack_netlink.c b/net/ipv4/netfilter/ip_conntrack_netlink.c index df04ad8..703f2d2 100644 --- a/net/ipv4/netfilter/ip_conntrack_netlink.c +++ b/net/ipv4/netfilter/ip_conntrack_netlink.c @@ -1203,7 +1203,6 @@ static int ctnetlink_expect_event(struct notifier_block *this, unsigned int type; unsigned char *b; int flags = 0; - u16 proto; if (events & IPEXP_NEW) { type = IPCTNL_MSG_EXP_NEW; @@ -1230,7 +1229,6 @@ static int ctnetlink_expect_event(struct notifier_block *this, goto nfattr_failure; nlh->nlmsg_len = skb->tail - b; - proto = exp->tuple.dst.protonum; nfnetlink_send(skb, 0, NFNLGRP_CONNTRACK_EXP_NEW, 0); return NOTIFY_DONE;