summaryrefslogtreecommitdiffstats
path: root/ctdb/common/ctdb_fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/common/ctdb_fork.c')
-rw-r--r--ctdb/common/ctdb_fork.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ctdb/common/ctdb_fork.c b/ctdb/common/ctdb_fork.c
index aa9bcf01bc..d7eef76c78 100644
--- a/ctdb/common/ctdb_fork.c
+++ b/ctdb/common/ctdb_fork.c
@@ -23,11 +23,8 @@
#include "../include/ctdb_private.h"
#include "../common/rb_tree.h"
-static bool is_child = false;
-
void ctdb_set_child_info(TALLOC_CTX *mem_ctx, const char *child_name_fmt, ...)
{
- is_child = true;
if (child_name_fmt != NULL) {
va_list ap;
char *t;
@@ -40,11 +37,6 @@ void ctdb_set_child_info(TALLOC_CTX *mem_ctx, const char *child_name_fmt, ...)
}
}
-bool ctdb_is_child_process(void)
-{
- return is_child;
-}
-
void ctdb_track_child(struct ctdb_context *ctdb, pid_t pid)
{
char *process;