From 440124a4b944b7535595c3a99b2fd9bf924c9512 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 16 Sep 2013 19:25:35 +0200 Subject: [PATCH] Coverity 1038100: remove dead code from flow hash timeout code(2) --- src/flow-timeout.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/flow-timeout.c b/src/flow-timeout.c index af298f2df1..8d02cc9dba 100644 --- a/src/flow-timeout.c +++ b/src/flow-timeout.c @@ -503,8 +503,7 @@ static inline void FlowForceReassemblyForHash(void) for (idx = 0; idx < flow_config.hash_size; idx++) { FlowBucket *fb = &flow_hash[idx]; - if (fb == NULL) - continue; + FBLOCK_LOCK(fb); /* get the topmost flow from the QUEUE */