From 42cb91675d86193e02c05810ab96981113bb643c Mon Sep 17 00:00:00 2001 From: russell Date: Sun, 11 Oct 2009 17:25:06 +0000 Subject: Remove some unnecessary code. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@223486 f38db490-d61c-443f-a65b-d21fe96a405b --- main/autoservice.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'main') diff --git a/main/autoservice.c b/main/autoservice.c index 246052784..bccee43f8 100644 --- a/main/autoservice.c +++ b/main/autoservice.c @@ -124,7 +124,7 @@ static void *autoservice_run(void *ign) } f = ast_read(chan); - + if (!f) { /* No frame means the channel has been hung up. * A hangup frame needs to be queued here as ast_waitfor() may @@ -132,9 +132,6 @@ static void *autoservice_run(void *ign) * of autoservice. So, we'll leave a HANGUP queued up so the * thread in charge of this channel will know. */ - hangup_frame.frametype = AST_FRAME_CONTROL; - hangup_frame.subclass = AST_CONTROL_HANGUP; - defer_frame = &hangup_frame; } else { -- cgit v1.2.3