]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
util-ebpf: case is not possible so remove warning
authorEric Leblond <eric@regit.org>
Sun, 9 Jun 2019 23:11:17 +0000 (01:11 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
src/util-ebpf.c

index 59b79670952244df7e712b411743c9d4fb75a9cb..a6dc53d3c41beff6b88dd1e52e4a79eb44017c01 100644 (file)
@@ -670,7 +670,6 @@ static int EBPFForEachFlowV4Table(ThreadVars *th_v, LiveDevice *dev, const char
     uint64_t hash_cnt = 0;
 
     if (tcfg->cpus_count == 0) {
-        SCLogWarning(SC_ERR_INVALID_VALUE, "CPU count should not be 0");
         return 0;
     }