diff --git a/main/threadpool.c b/main/threadpool.c index 58647d59f685dda8c2c0e4c311f3263b78e0cbbc..1bf6003ab8898f1e5e58fbbe9fd2bd300b44a264 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; }