aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/ip6_queue.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-12-05 01:24:30 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:56:10 -0800
commitf9d8928f8340ab8e76f1da4799cb19a6ff58b83d (patch)
treee2c763679016394bebee40a56dafe708ffb9d0de /net/ipv6/netfilter/ip6_queue.c
parent[NETFILTER]: nf_queue: make queue_handler const (diff)
downloadlinux-dev-f9d8928f8340ab8e76f1da4799cb19a6ff58b83d.tar.xz
linux-dev-f9d8928f8340ab8e76f1da4799cb19a6ff58b83d.zip
[NETFILTER]: nf_queue: remove unused data pointer
Remove the data pointer from struct nf_queue_handler. It has never been used and is useless for the only handler that really matters, nfnetlink_queue, since the handler is shared between all instances. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv6/netfilter/ip6_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6_queue.c b/net/ipv6/netfilter/ip6_queue.c
index d6e971bd9fe1..5a9ca0d4fb2f 100644
--- a/net/ipv6/netfilter/ip6_queue.c
+++ b/net/ipv6/netfilter/ip6_queue.c
@@ -269,7 +269,7 @@ nlmsg_failure:
static int
ipq_enqueue_packet(struct sk_buff *skb, struct nf_info *info,
- unsigned int queuenum, void *data)
+ unsigned int queuenum)
{
int status = -EINVAL;
struct sk_buff *nskb;