]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
FDR: delete dead confirm code
authorWang, Xiang W <xiang.w.wang@intel.com>
Wed, 8 Mar 2017 11:35:23 +0000 (06:35 -0500)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 26 Apr 2017 05:16:27 +0000 (15:16 +1000)
src/fdr/fdr.c

index e15c6c3361724830dd065a05ef07067ee7798ea2..edd1273334f2fa4e76504d34c5898ca231042ae4 100644 (file)
@@ -355,16 +355,6 @@ void do_confirm_fdr(u64a *conf, u8 offset, hwlmcb_rv_t *control,
         if (!(fdrc->groups & *control)) {
             continue;
         }
-        if (!fdrc->mult) {
-            u32 id = fdrc->nBitsOrSoleID;
-            if ((*last_match_id == id) && (fdrc->flags & NoRepeat)) {
-                continue;
-            }
-           *last_match_id = id;
-           *control = a->cb(ptr_main + byte - a->buf, ptr_main + byte - a->buf,
-                            id, a->ctxt);
-           continue;
-        }
         u64a confVal = unaligned_load_u64a(confLoc + byte - sizeof(u64a) + 1);
         confWithBit(fdrc, a, ptr_main - a->buf + byte, control,
                     last_match_id, confVal);