diff --git a/src/detect-engine-mpm.c b/src/detect-engine-mpm.c index c441e0f7e5..592a1bd13f 100644 --- a/src/detect-engine-mpm.c +++ b/src/detect-engine-mpm.c @@ -2442,11 +2442,7 @@ int PatternMatchPrepareGroup(DetectEngineCtx *de_ctx, SigGroupHead *sh) exit(EXIT_FAILURE); } -#ifndef __SC_CUDA_SUPPORT__ MpmInitCtx(sh->mpm_dnsquery_ctx_ts, de_ctx->mpm_matcher, -1); -#else - MpmInitCtx(sh->mpm_dnsquery_ctx_ts, de_ctx->mpm_matcher, de_ctx->cuda_rc_mod_handle); -#endif } if (has_co_packet || diff --git a/src/suricata.c b/src/suricata.c index 8a992d6c48..ba77b3c451 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -1597,10 +1597,6 @@ int main(int argc, char **argv) /* dns log */ TmModuleLogDnsLogRegister(); /* cuda */ -#ifdef __SC_CUDA_SUPPORT__ - TmModuleCudaMpmB2gRegister(); - TmModuleCudaPacketBatcherRegister(); -#endif TmModuleDebugList(); AppLayerHtpNeedFileInspection();