diff options
author | Patrick McHardy | 2006-08-22 09:36:37 +0200 |
---|---|---|
committer | David S. Miller | 2006-09-22 23:55:34 +0200 |
commit | efa741656e9ebf5fd6e0432b0d1b3c7f156392d3 (patch) | |
tree | 18ad158b5972904bd9ba930e5c6ec49181f3b400 /net/ipv4/netfilter/ipt_hashlimit.c | |
parent | [NETFILTER]: x_tables: remove unused argument to target functions (diff) | |
download | kernel-qcow2-linux-efa741656e9ebf5fd6e0432b0d1b3c7f156392d3.tar.gz kernel-qcow2-linux-efa741656e9ebf5fd6e0432b0d1b3c7f156392d3.tar.xz kernel-qcow2-linux-efa741656e9ebf5fd6e0432b0d1b3c7f156392d3.zip |
[NETFILTER]: x_tables: remove unused size argument to check/destroy functions
The size is verified by x_tables and isn't needed by the modules anymore.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/ipt_hashlimit.c')
-rw-r--r-- | net/ipv4/netfilter/ipt_hashlimit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv4/netfilter/ipt_hashlimit.c b/net/ipv4/netfilter/ipt_hashlimit.c index 3bd2368e1fc9..b5b74b07370c 100644 --- a/net/ipv4/netfilter/ipt_hashlimit.c +++ b/net/ipv4/netfilter/ipt_hashlimit.c @@ -478,7 +478,6 @@ hashlimit_checkentry(const char *tablename, const void *inf, const struct xt_match *match, void *matchinfo, - unsigned int matchsize, unsigned int hook_mask) { struct ipt_hashlimit_info *r = matchinfo; @@ -529,8 +528,7 @@ hashlimit_checkentry(const char *tablename, } static void -hashlimit_destroy(const struct xt_match *match, void *matchinfo, - unsigned int matchsize) +hashlimit_destroy(const struct xt_match *match, void *matchinfo) { struct ipt_hashlimit_info *r = matchinfo; |