[PATCH 7/8] Remove unused var proto
Pablo Neira Ayuso
pablo at netfilter.org
Mon Dec 5 12:21:12 CET 2005
--
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris
-------------- next part --------------
Remove useless proto.
Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
Index: netfilter-2.6.14.git/net/ipv4/netfilter/ip_conntrack_netlink.c
===================================================================
--- netfilter-2.6.14.git.orig/net/ipv4/netfilter/ip_conntrack_netlink.c 2005-12-05 11:45:12.000000000 +0100
+++ netfilter-2.6.14.git/net/ipv4/netfilter/ip_conntrack_netlink.c 2005-12-05 11:45:20.000000000 +0100
@@ -1204,7 +1204,6 @@ static int ctnetlink_expect_event(struct
unsigned int type;
unsigned char *b;
int flags = 0;
- u16 proto;
if (events & IPEXP_NEW) {
type = IPCTNL_MSG_EXP_NEW;
@@ -1231,7 +1230,6 @@ static int ctnetlink_expect_event(struct
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;
More information about the netfilter-devel
mailing list