diff options
author | Patrick McHardy <kaber@trash.net> | 2006-08-22 03:36:37 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:55:34 -0400 |
commit | efa741656e9ebf5fd6e0432b0d1b3c7f156392d3 (patch) | |
tree | 18ad158b5972904bd9ba930e5c6ec49181f3b400 /net/netfilter/xt_connmark.c | |
parent | fe1cb10873b44cf89082465823ee6d4d4ac63ad7 (diff) |
[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/netfilter/xt_connmark.c')
-rw-r--r-- | net/netfilter/xt_connmark.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/xt_connmark.c b/net/netfilter/xt_connmark.c index a97b2d455b7..c9104d05a19 100644 --- a/net/netfilter/xt_connmark.c +++ b/net/netfilter/xt_connmark.c | |||
@@ -55,7 +55,6 @@ checkentry(const char *tablename, | |||
55 | const void *ip, | 55 | const void *ip, |
56 | const struct xt_match *match, | 56 | const struct xt_match *match, |
57 | void *matchinfo, | 57 | void *matchinfo, |
58 | unsigned int matchsize, | ||
59 | unsigned int hook_mask) | 58 | unsigned int hook_mask) |
60 | { | 59 | { |
61 | struct xt_connmark_info *cm = matchinfo; | 60 | struct xt_connmark_info *cm = matchinfo; |
@@ -75,7 +74,7 @@ checkentry(const char *tablename, | |||
75 | } | 74 | } |
76 | 75 | ||
77 | static void | 76 | static void |
78 | destroy(const struct xt_match *match, void *matchinfo, unsigned int matchsize) | 77 | destroy(const struct xt_match *match, void *matchinfo) |
79 | { | 78 | { |
80 | #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) | 79 | #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) |
81 | nf_ct_l3proto_module_put(match->family); | 80 | nf_ct_l3proto_module_put(match->family); |