diff --git a/src/decode.h b/src/decode.h index f36fdded23..4f83a8be79 100644 --- a/src/decode.h +++ b/src/decode.h @@ -654,7 +654,6 @@ typedef struct DecodeThreadVars_ /** * \brief Recycle a packet structure for reuse. - * \todo the mutex destroy & init is necessary because of the memset, reconsider */ #define PACKET_REINIT(p) do { \ CLEAR_ADDR(&(p)->src); \ @@ -712,8 +711,6 @@ typedef struct DecodeThreadVars_ (p)->pcap_cnt = 0; \ (p)->tunnel_rtv_cnt = 0; \ (p)->tunnel_tpr_cnt = 0; \ - SCMutexDestroy(&(p)->tunnel_mutex); \ - SCMutexInit(&(p)->tunnel_mutex, NULL); \ (p)->events.cnt = 0; \ AppLayerDecoderEventsResetEvents((p)->app_layer_events); \ (p)->next = NULL; \