diff --git a/src/log-filestore.c b/src/log-filestore.c index 5069ec857921..c2507163fbd2 100644 --- a/src/log-filestore.c +++ b/src/log-filestore.c @@ -427,12 +427,6 @@ static void LogFilestoreLogDeInitCtx(OutputCtx *output_ctx) * */ static OutputCtx *LogFilestoreLogInitCtx(ConfNode *conf) { - LogFileCtx *logfile_ctx = LogFileNewCtx(); - if (logfile_ctx == NULL) { - SCLogDebug("Could not create new LogFilestoreCtx"); - return NULL; - } - OutputCtx *output_ctx = SCCalloc(1, sizeof(OutputCtx)); if (unlikely(output_ctx == NULL)) return NULL;