]> err.no Git - linux-2.6/blobdiff - net/ipv4/netfilter/ipt_hashlimit.c
[NETFILTER]: x_tables: remove some unnecessary casts
[linux-2.6] / net / ipv4 / netfilter / ipt_hashlimit.c
index 7c6836c4646e12e772c952d42e0372b5b5c23d34..b88adc7f4b4702305012db2cd8c5189f5c782a19 100644 (file)
@@ -561,7 +561,7 @@ static void
 hashlimit_destroy(const struct xt_match *match, void *matchinfo,
                  unsigned int matchsize)
 {
-       struct ipt_hashlimit_info *r = (struct ipt_hashlimit_info *) matchinfo;
+       struct ipt_hashlimit_info *r = matchinfo;
 
        htable_put(r->hinfo);
 }