From 206f9d40108d72c687e5444e5c987d525843934c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 26 Feb 2015 17:49:30 +0100 Subject: [PATCH] detect-state: remove redundant code --- src/detect-engine-state.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/detect-engine-state.c b/src/detect-engine-state.c index 5aed7d8760..144ea623e6 100644 --- a/src/detect-engine-state.c +++ b/src/detect-engine-state.c @@ -353,9 +353,6 @@ int DeStateDetectStartDetection(ThreadVars *tv, DetectEngineCtx *de_ctx, } if (TxIsLast(tx_id, total_txs)) { - void *tx = AppLayerParserGetTx(f->proto, alproto, alstate, tx_id); - if (tx == NULL) - continue; if (AppLayerParserGetStateProgress(f->proto, alproto, tx, flags) < AppLayerParserGetStateProgressCompletionStatus(f->proto, alproto, flags)) { store_de_state = 1;