diff options
author | Patrick McHardy <kaber@trash.net> | 2006-05-29 18:19:19 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-17 21:28:45 -0700 |
commit | 3e72b2fe5b31791f976350b023b7a37ef59c02c1 (patch) | |
tree | 94c34d9264d68141c11530cb94f58ed4d03a1dbd /net/netfilter/xt_dccp.c | |
parent | 73654d61e556483ad324b90989eae26b22df6ef6 (diff) |
[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_dccp.c')
-rw-r--r-- | net/netfilter/xt_dccp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/xt_dccp.c b/net/netfilter/xt_dccp.c index dfb10b648e5..2e2f825dad4 100644 --- a/net/netfilter/xt_dccp.c +++ b/net/netfilter/xt_dccp.c @@ -101,8 +101,7 @@ match(const struct sk_buff *skb, unsigned int protoff, int *hotdrop) { - const struct xt_dccp_info *info = - (const struct xt_dccp_info *)matchinfo; + const struct xt_dccp_info *info = matchinfo; struct dccp_hdr _dh, *dh; if (offset) |