follow up to r1377398: remove unused function count_busy_processes
git-svn-id: https://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk@1527358 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/modules/fcgid/fcgid_bridge.c b/modules/fcgid/fcgid_bridge.c
index 7cde158..6091479 100644
--- a/modules/fcgid/fcgid_bridge.c
+++ b/modules/fcgid/fcgid_bridge.c
@@ -124,35 +124,6 @@
proctable_unlock(r);
}
-static int count_busy_processes(request_rec *r, fcgid_command *command)
-{
- int result = 0;
- fcgid_procnode *previous_node, *current_node, *next_node;
- fcgid_procnode *proc_table = proctable_get_table_array();
- fcgid_procnode *busy_list_header = proctable_get_busy_list();
-
- proctable_lock(r);
-
- previous_node = busy_list_header;
- current_node = &proc_table[previous_node->next_index];
- while (current_node != proc_table) {
- if (current_node->inode == command->inode
- && current_node->deviceid == command->deviceid
- && !strcmp(current_node->cmdline, command->cmdline)
- && current_node->vhost_id == command->vhost_id
- && current_node->uid == command->uid
- && current_node->gid == command->gid) {
- result++;
- }
- next_node = &proc_table[current_node->next_index];
- current_node = next_node;
- }
-
- proctable_unlock(r);
-
- return result;
-}
-
apr_status_t bucket_ctx_cleanup(void *thectx)
{
/* Cleanup jobs: