Skip to content

Commit

Permalink
detect-engine: remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Sismis authored and Lukas Sismis committed Jul 25, 2024
1 parent 9094aa7 commit 9b5a49a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions src/detect-engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -2985,15 +2985,6 @@ bool DetectEngineMpmCachingEnabled(void)
return (bool)sgh_mpm_caching;
}

/*
* getting & (re)setting the internal sig i
*/

//inline uint32_t DetectEngineGetMaxSigId(DetectEngineCtx *de_ctx)
//{
// return de_ctx->signum;
//}

void DetectEngineResetMaxSigId(DetectEngineCtx *de_ctx)
{
de_ctx->signum = 0;
Expand Down
1 change: 0 additions & 1 deletion src/detect-engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ void *DetectThreadCtxGetGlobalKeywordThreadCtx(DetectEngineThreadCtx *det_ctx, i
TmEcode DetectEngineThreadCtxInit(ThreadVars *, void *, void **);
TmEcode DetectEngineThreadCtxDeinit(ThreadVars *, void *);
bool DetectEngineMpmCachingEnabled(void);
//inline uint32_t DetectEngineGetMaxSigId(DetectEngineCtx *);
/* faster as a macro than a inline function on my box -- VJ */
#define DetectEngineGetMaxSigId(de_ctx) ((de_ctx)->signum)
void DetectEngineResetMaxSigId(DetectEngineCtx *);
Expand Down

0 comments on commit 9b5a49a

Please sign in to comment.