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_sctp.c | |
parent | 73654d61e556483ad324b90989eae26b22df6ef6 (diff) | |
download | linux-3e72b2fe5b31791f976350b023b7a37ef59c02c1.tar.bz2 |
[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_sctp.c')
-rw-r--r-- | net/netfilter/xt_sctp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/netfilter/xt_sctp.c b/net/netfilter/xt_sctp.c index 34bd87259a09..b5110e5b54b0 100644 --- a/net/netfilter/xt_sctp.c +++ b/net/netfilter/xt_sctp.c @@ -129,11 +129,9 @@ match(const struct sk_buff *skb, unsigned int protoff, int *hotdrop) { - const struct xt_sctp_info *info; + const struct xt_sctp_info *info = matchinfo; sctp_sctphdr_t _sh, *sh; - info = (const struct xt_sctp_info *)matchinfo; - if (offset) { duprintf("Dropping non-first fragment.. FIXME\n"); return 0; |