From 92976c640aeccc3a8ff741a5e4eadd64cf08d97b Mon Sep 17 00:00:00 2001 From: Justin Viiret Date: Fri, 15 Apr 2016 10:45:52 +1000 Subject: [PATCH] report: remove dead function satisfiesMinLength --- src/report.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/report.h b/src/report.h index 861abb37..d037d11b 100644 --- a/src/report.h +++ b/src/report.h @@ -44,21 +44,6 @@ #include "util/exhaust.h" #include "util/fatbit.h" -static really_inline -int satisfiesMinLength(u64a min_len, u64a from_offset, - u64a to_offset) { - assert(min_len); - - if (from_offset == HS_OFFSET_PAST_HORIZON) { - DEBUG_PRINTF("SOM beyond horizon\n"); - return 1; - } - - DEBUG_PRINTF("match len=%llu, min len=%llu\n", to_offset - from_offset, - min_len); - return to_offset - from_offset >= min_len; -} - enum DedupeResult { DEDUPE_CONTINUE, //!< Continue with match, not a dupe. DEDUPE_SKIP, //!< Don't report this match, dupe or delayed due to SOM.