]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Coverity 1038100: remove dead code from flow hash timeout code(2)
authorVictor Julien <victor@inliniac.net>
Mon, 16 Sep 2013 17:25:35 +0000 (19:25 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 16 Sep 2013 17:25:35 +0000 (19:25 +0200)
src/flow-timeout.c

index af298f2df1c23111d349ddd9ec145e246196a6a6..8d02cc9dba124566ed7c8fba0dc10334bfecf4c1 100644 (file)
@@ -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 */