From: Victor Julien Date: Mon, 16 Sep 2013 16:31:05 +0000 (+0200) Subject: Coverity 1038098: remove dead code from flow hash X-Git-Tag: suricata-2.0beta2~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e82772a0ab35b1fe13327c209ea1cbf097ec78c;p=thirdparty%2Fsuricata.git Coverity 1038098: remove dead code from flow hash --- diff --git a/src/flow-hash.c b/src/flow-hash.c index 9b20b9c807..c6065f1ffe 100644 --- a/src/flow-hash.c +++ b/src/flow-hash.c @@ -612,8 +612,6 @@ static Flow *FlowGetUsedFlow(void) { idx = 0; FlowBucket *fb = &flow_hash[idx]; - if (fb == NULL) - continue; if (FBLOCK_TRYLOCK(fb) != 0) continue;