From: Victor Julien Date: Mon, 27 Feb 2017 22:51:31 +0000 (+0100) Subject: flow: remove unused alversion fields X-Git-Tag: suricata-4.0.0-beta1~255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a56b4817ef49803d36ca5e14c6ab795c5de8d172;p=thirdparty%2Fsuricata.git flow: remove unused alversion fields --- diff --git a/src/flow-util.h b/src/flow-util.h index dfbba64cb1..6258a01959 100644 --- a/src/flow-util.h +++ b/src/flow-util.h @@ -57,8 +57,6 @@ (f)->alproto_tc = 0; \ (f)->de_ctx_version = 0; \ (f)->thread_id = 0; \ - (f)->detect_alversion[0] = 0; \ - (f)->detect_alversion[1] = 0; \ (f)->alparser = NULL; \ (f)->alstate = NULL; \ (f)->sgh_toserver = NULL; \ @@ -99,8 +97,6 @@ (f)->alproto_tc = 0; \ (f)->de_ctx_version = 0; \ (f)->thread_id = 0; \ - (f)->detect_alversion[0] = 0; \ - (f)->detect_alversion[1] = 0; \ (f)->sgh_toserver = NULL; \ (f)->sgh_toclient = NULL; \ GenericVarFree((f)->flowvar); \ diff --git a/src/flow.h b/src/flow.h index b12554135d..a490a82427 100644 --- a/src/flow.h +++ b/src/flow.h @@ -392,9 +392,6 @@ typedef struct Flow_ /** Thread ID for the stream/detect portion of this flow */ FlowThreadId thread_id; - /** detect state 'alversion' inspected for both directions */ - uint8_t detect_alversion[2]; - /** application level storage ptrs. * */