[SSSD] [PATCH] Remove unused be_ctx->sigchld_ctx

Jakub Hrozek jhrozek at redhat.com
Wed Jul 17 11:49:36 UTC 2013


Please see the attached patch. We might be re-adding the code when we
get to #2020 but currently it's just confusing.
-------------- next part --------------
>From 97fafa9c43aefc5f6209fdcfd64a66fa78a16094 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Wed, 17 Jul 2013 13:28:42 +0200
Subject: [PATCH] Remove unused be_ctx->sigchld_ctx

---
 src/providers/data_provider_be.c | 8 --------
 src/providers/dp_backend.h       | 1 -
 2 files changed, 9 deletions(-)

diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c
index 1e11bfd24083abeb067ccfda27cf1d10f2669041..ae9ba81c871e8cefc11cbbfd9b3fb2140ef74498 100644
--- a/src/providers/data_provider_be.c
+++ b/src/providers/data_provider_be.c
@@ -2822,14 +2822,6 @@ int be_process_init(TALLOC_CTX *mem_ctx,
         goto fail;
     }
 
-    ret = sss_sigchld_init(ctx, ctx->ev, &ctx->sigchld_ctx);
-    if (ret != EOK) {
-        DEBUG(SSSDBG_FATAL_FAILURE,
-              ("Could not initialize sigchld context: [%s]\n",
-               strerror(ret)));
-        goto fail;
-    }
-
     return EOK;
 
 fail:
diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h
index 638b878c298ee5cf540dbb09ca7c69304822f088..e07b4e649f5983fc0239101f5b75579ea06f8ef7 100644
--- a/src/providers/dp_backend.h
+++ b/src/providers/dp_backend.h
@@ -118,7 +118,6 @@ struct be_ctx {
     const char *conf_path;
     struct be_failover_ctx *be_fo;
     struct be_resolv_ctx *be_res;
-    struct sss_sigchild_ctx *sigchld_ctx;
 
     /* Functions to be invoked when the
      * backend goes online or offline
-- 
1.8.3.1



More information about the sssd-devel mailing list