From: Victor Julien Date: Mon, 16 Sep 2013 17:26:50 +0000 (+0200) Subject: Coverity 1038102: remove dead code from host hash X-Git-Tag: suricata-2.0beta2~355 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8539791c7e937d56d769d06f9ec364a420a78311;p=thirdparty%2Fsuricata.git Coverity 1038102: remove dead code from host hash --- diff --git a/src/host.c b/src/host.c index c3efa1b1c5..bd96c43850 100644 --- a/src/host.c +++ b/src/host.c @@ -617,8 +617,6 @@ static Host *HostGetUsedHost(void) { idx = 0; HostHashRow *hb = &host_hash[idx]; - if (hb == NULL) - continue; if (HRLOCK_TRYLOCK(hb) != 0) continue;