]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/netfilter/xt_rateest.c
r8169: Tx performance tweak helper
[linux-2.6-omap-h63xx.git] / net / netfilter / xt_rateest.c
index fdb86a515146107da927761efbf6ed1567707514..ebd84f1b4f6246b28a0bf5e5136913617c38b3dc 100644 (file)
@@ -86,7 +86,7 @@ static bool xt_rateest_mt_checkentry(const char *tablename,
                                     void *matchinfo,
                                     unsigned int hook_mask)
 {
-       struct xt_rateest_match_info *info = (void *)matchinfo;
+       struct xt_rateest_match_info *info = matchinfo;
        struct xt_rateest *est1, *est2;
 
        if (hweight32(info->flags & (XT_RATEEST_MATCH_ABS |
@@ -130,7 +130,7 @@ err1:
 static void xt_rateest_mt_destroy(const struct xt_match *match,
                                  void *matchinfo)
 {
-       struct xt_rateest_match_info *info = (void *)matchinfo;
+       struct xt_rateest_match_info *info = matchinfo;
 
        xt_rateest_put(info->est1);
        if (info->est2)