From: Pablo Neira Ayuso Date: Thu, 5 Jan 2006 20:18:44 +0000 (-0800) Subject: [NETFILTER]: ctnetlink: remove unused variable X-Git-Tag: v2.6.16-rc1~474^2~21^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=205d67c7d942c057648148fefb17e46f77e3efd6;p=linux-2.6-omap-h63xx.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 df04ad873cc..703f2d2e346 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;