]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove some unnecessary code.
authorRussell Bryant <russell@russellbryant.com>
Sun, 11 Oct 2009 17:25:06 +0000 (17:25 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 11 Oct 2009 17:25:06 +0000 (17:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@223486 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/autoservice.c

index 2460527841b53c4e636651a2e920ea26274c9b36..bccee43f891dc95988748a94042d7dbeb9ce8d90 100644 (file)
@@ -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 {