diff --git a/main/threadpool.c b/main/threadpool.c index 58647d59f6..1bf6003ab8 100644 --- a/main/threadpool.c +++ b/main/threadpool.c @@ -1188,7 +1188,6 @@ struct ast_taskprocessor *ast_threadpool_serializer(const char *name, struct ast if (!tps) { return NULL; } - listener = NULL; /* ownership transferred to tps */ return tps; }