]> granicus.if.org Git - apache/commitdiff
Removed creation of unused struct
authorBrian Pane <brianp@apache.org>
Sun, 28 Apr 2002 01:58:26 +0000 (01:58 +0000)
committerBrian Pane <brianp@apache.org>
Sun, 28 Apr 2002 01:58:26 +0000 (01:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94826 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/leader/leader.c

index 16b3df246f8a0eee5ecd3afeba98709b178a167c..f1b8fc654b53aeec1a60140a67cc48128c1d1b5c 100644 (file)
@@ -1006,18 +1006,11 @@ static void * APR_THREAD_FUNC start_threads(apr_thread_t *thd, void *dummy)
     while (1) {
         for (i = 0; i < ap_threads_per_child; i++) {
             int status = ap_scoreboard_image->servers[child_num_arg][i].status;
-            worker_wakeup_info *wakeup;
 
             if (status != SERVER_GRACEFUL && status != SERVER_DEAD) {
                 continue;
             }
 
-            wakeup = worker_wakeup_create(pchild);
-            if (wakeup == NULL) {
-                ap_log_error(APLOG_MARK, APLOG_ALERT|APLOG_NOERRNO, 0,
-                             ap_server_conf, "worker_wakeup_create failed");
-                clean_child_exit(APEXIT_CHILDFATAL);
-            }
             my_info = (proc_info *)malloc(sizeof(proc_info));
             if (my_info == NULL) {
                 ap_log_error(APLOG_MARK, APLOG_ALERT, errno, ap_server_conf,