|
|
2fc102 |
From 7f9da1ed660e45e276778187260ddbbf411c761e Mon Sep 17 00:00:00 2001
|
|
|
2fc102 |
From: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
2fc102 |
Date: Wed, 5 Feb 2014 16:40:41 +0100
|
|
|
2fc102 |
Subject: [PATCH 83/84] AD: Remove dead code
|
|
|
2fc102 |
MIME-Version: 1.0
|
|
|
2fc102 |
Content-Type: text/plain; charset=UTF-8
|
|
|
2fc102 |
Content-Transfer-Encoding: 8bit
|
|
|
2fc102 |
|
|
|
2fc102 |
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
|
|
|
2fc102 |
(cherry picked from commit d3436880c0ec1a7776698c739d4a3edc9a6ac57c)
|
|
|
2fc102 |
---
|
|
|
2fc102 |
src/providers/ad/ad_id.c | 8 --------
|
|
|
2fc102 |
1 file changed, 8 deletions(-)
|
|
|
2fc102 |
|
|
|
2fc102 |
diff --git a/src/providers/ad/ad_id.c b/src/providers/ad/ad_id.c
|
|
|
2fc102 |
index 2d3c11bb838f1418c006f9d79d8552cec1443e66..87af656b364344a8ef27a444e5dfcf8848939110 100644
|
|
|
2fc102 |
--- a/src/providers/ad/ad_id.c
|
|
|
2fc102 |
+++ b/src/providers/ad/ad_id.c
|
|
|
2fc102 |
@@ -634,7 +634,6 @@ ad_enumeration_done(struct tevent_req *subreq)
|
|
|
2fc102 |
struct tevent_req);
|
|
|
2fc102 |
struct ad_enumeration_state *state = tevent_req_data(req,
|
|
|
2fc102 |
struct ad_enumeration_state);
|
|
|
2fc102 |
- struct ad_id_ctx *subdom_id_ctx;
|
|
|
2fc102 |
|
|
|
2fc102 |
ret = sdap_dom_enum_ex_recv(subreq);
|
|
|
2fc102 |
talloc_zfree(subreq);
|
|
|
2fc102 |
@@ -666,13 +665,6 @@ ad_enumeration_done(struct tevent_req *subreq)
|
|
|
2fc102 |
state->sditer->dom->enumerate == false);
|
|
|
2fc102 |
|
|
|
2fc102 |
if (state->sditer != NULL) {
|
|
|
2fc102 |
- subdom_id_ctx = talloc_get_type(state->sdom->pvt, struct ad_id_ctx);
|
|
|
2fc102 |
- if (subdom_id_ctx == NULL) {
|
|
|
2fc102 |
- DEBUG(SSSDBG_CRIT_FAILURE, ("Cannot retrieve subdomain ad_id_ctx!\n"));
|
|
|
2fc102 |
- tevent_req_error(req, EFAULT);
|
|
|
2fc102 |
- return;
|
|
|
2fc102 |
- }
|
|
|
2fc102 |
-
|
|
|
2fc102 |
ret = ad_enum_sdom(req, state->sditer, state->sditer->pvt);
|
|
|
2fc102 |
if (ret != EOK) {
|
|
|
2fc102 |
DEBUG(SSSDBG_OP_FAILURE, ("Could not enumerate domain %s\n",
|
|
|
2fc102 |
--
|
|
|
2fc102 |
1.8.5.3
|
|
|
2fc102 |
|