Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-block.git] / net / netfilter / xt_string.c
index 5699adb976521450c542c17acd13c91c6454750f..0bc3460319c8bd565cc11564180d566f3f89488e 100644 (file)
@@ -26,13 +26,12 @@ static bool
 string_mt(const struct sk_buff *skb, struct xt_action_param *par)
 {
        const struct xt_string_info *conf = par->matchinfo;
-       struct ts_state state;
        bool invert;
 
        invert = conf->u.v1.flags & XT_STRING_FLAG_INVERT;
 
        return (skb_find_text((struct sk_buff *)skb, conf->from_offset,
-                            conf->to_offset, conf->config, &state)
+                            conf->to_offset, conf->config)
                             != UINT_MAX) ^ invert;
 }