From: Wang, Xiang W Date: Wed, 8 Mar 2017 11:35:23 +0000 (-0500) Subject: FDR: delete dead confirm code X-Git-Tag: v4.5.0^2~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffab97ca8c30c2434f3a524d23595ec2400d37d1;p=thirdparty%2Fvectorscan.git FDR: delete dead confirm code --- diff --git a/src/fdr/fdr.c b/src/fdr/fdr.c index e15c6c33..edd12733 100644 --- a/src/fdr/fdr.c +++ b/src/fdr/fdr.c @@ -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);