diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-02-05 16:40:41 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-02-12 15:35:49 +0100 |
commit | d3436880c0ec1a7776698c739d4a3edc9a6ac57c (patch) | |
tree | 854be9e97349d54ab0311a0b5b63f50eb6d87af1 | |
parent | 957c55df7a7086166fb3c14cead6a0dab8f574c1 (diff) | |
download | sssd-d3436880c0ec1a7776698c739d4a3edc9a6ac57c.tar.gz sssd-d3436880c0ec1a7776698c739d4a3edc9a6ac57c.tar.xz sssd-d3436880c0ec1a7776698c739d4a3edc9a6ac57c.zip |
AD: Remove dead code
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
-rw-r--r-- | src/providers/ad/ad_id.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/providers/ad/ad_id.c b/src/providers/ad/ad_id.c index e1ecd3fbe..6e2fe53b0 100644 --- a/src/providers/ad/ad_id.c +++ b/src/providers/ad/ad_id.c @@ -634,7 +634,6 @@ ad_enumeration_done(struct tevent_req *subreq) struct tevent_req); struct ad_enumeration_state *state = tevent_req_data(req, struct ad_enumeration_state); - struct ad_id_ctx *subdom_id_ctx; ret = sdap_dom_enum_ex_recv(subreq); talloc_zfree(subreq); @@ -666,13 +665,6 @@ ad_enumeration_done(struct tevent_req *subreq) state->sditer->dom->enumerate == false); if (state->sditer != NULL) { - subdom_id_ctx = talloc_get_type(state->sdom->pvt, struct ad_id_ctx); - if (subdom_id_ctx == NULL) { - DEBUG(SSSDBG_CRIT_FAILURE, ("Cannot retrieve subdomain ad_id_ctx!\n")); - tevent_req_error(req, EFAULT); - return; - } - ret = ad_enum_sdom(req, state->sditer, state->sditer->pvt); if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, ("Could not enumerate domain %s\n", |