summaryrefslogtreecommitdiff
path: root/src/db/sysdb_subdomains.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sysdb_subdomains.c')
-rw-r--r--src/db/sysdb_subdomains.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/db/sysdb_subdomains.c b/src/db/sysdb_subdomains.c
index 69806517..9b295d7e 100644
--- a/src/db/sysdb_subdomains.c
+++ b/src/db/sysdb_subdomains.c
@@ -547,23 +547,3 @@ done:
talloc_free(tmp_ctx);
return ret;
}
-
-errno_t sysdb_get_subdomain_context(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
- struct sss_domain_info *subdomain,
- struct sysdb_ctx **subdomain_ctx)
-{
- struct sysdb_ctx *new_ctx;
-
- new_ctx = talloc_zero(mem_ctx, struct sysdb_ctx);
- if (new_ctx == NULL) {
- return ENOMEM;
- }
-
- new_ctx->ldb = sysdb->ldb;
- new_ctx->ldb_file = sysdb->ldb_file;
-
- *subdomain_ctx = new_ctx;
-
- return EOK;
-}