aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_string.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-05-29 18:19:19 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-17 21:28:45 -0700
commit3e72b2fe5b31791f976350b023b7a37ef59c02c1 (patch)
tree94c34d9264d68141c11530cb94f58ed4d03a1dbd /net/netfilter/xt_string.c
parent[IPSEC] xfrm: Use IPPROTO_MAX instead of 256 (diff)
downloadlinux-dev-3e72b2fe5b31791f976350b023b7a37ef59c02c1.tar.xz
linux-dev-3e72b2fe5b31791f976350b023b7a37ef59c02c1.zip
[NETFILTER]: x_tables: remove some unnecessary casts
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_string.c')
-rw-r--r--net/netfilter/xt_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_string.c b/net/netfilter/xt_string.c
index 79d9ea6964ba..0ebb6ac2c8c7 100644
--- a/net/netfilter/xt_string.c
+++ b/net/netfilter/xt_string.c
@@ -30,8 +30,8 @@ static int match(const struct sk_buff *skb,
unsigned int protoff,
int *hotdrop)
{
+ const struct xt_string_info *conf = matchinfo;
struct ts_state state;
- struct xt_string_info *conf = (struct xt_string_info *) matchinfo;
memset(&state, 0, sizeof(struct ts_state));