summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 49767206c..ac32bffe7 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -1989,8 +1989,6 @@ static void handle_statechange(const char *device)
static int statechange_queue(const char *dev)
{
- /* Avoid potential for deadlocks by spawning a new thread to handle
- the event */
struct statechange *sc;
if (!(sc = ast_calloc(1, sizeof(*sc) + strlen(dev) + 1)))