diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-05 04:24:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:56:10 -0500 |
commit | f9d8928f8340ab8e76f1da4799cb19a6ff58b83d (patch) | |
tree | e2c763679016394bebee40a56dafe708ffb9d0de /include | |
parent | e3ac5298159c5286cef86f0865d4fa6a606bd391 (diff) |
[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 'include')
-rw-r--r-- | include/linux/netfilter.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index c2c3fafa5fd0..1ba60112ab83 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h | |||
@@ -277,8 +277,7 @@ int compat_nf_getsockopt(struct sock *sk, int pf, int optval, | |||
277 | /* Packet queuing */ | 277 | /* Packet queuing */ |
278 | struct nf_queue_handler { | 278 | struct nf_queue_handler { |
279 | int (*outfn)(struct sk_buff *skb, struct nf_info *info, | 279 | int (*outfn)(struct sk_buff *skb, struct nf_info *info, |
280 | unsigned int queuenum, void *data); | 280 | unsigned int queuenum); |
281 | void *data; | ||
282 | char *name; | 281 | char *name; |
283 | }; | 282 | }; |
284 | extern int nf_register_queue_handler(int pf, | 283 | extern int nf_register_queue_handler(int pf, |