summaryrefslogtreecommitdiffstats
path: root/server/confdb
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-09-10 09:26:28 -0400
committerSimo Sorce <ssorce@redhat.com>2009-09-10 17:28:35 -0400
commit5b72a797f454639496087fde6715237115be0b0a (patch)
tree0e3113ad9bc1cc8af0dd398783b1f7138c798d3b /server/confdb
parentc80b4774c8358e8e9bb141ff28a5660224698a58 (diff)
downloadsssd-5b72a797f454639496087fde6715237115be0b0a.tar.gz
sssd-5b72a797f454639496087fde6715237115be0b0a.tar.xz
sssd-5b72a797f454639496087fde6715237115be0b0a.zip
Remove unused event context argument from confdb_init
Because the confdb always operates synchronously, it maintains its own private event context internally. The event context argument passed to it is never used, so we'll remove it to avoid confusion.
Diffstat (limited to 'server/confdb')
-rw-r--r--server/confdb/confdb.c1
-rw-r--r--server/confdb/confdb.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index 1ef2233a0..8fbae2f7a 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -627,7 +627,6 @@ done:
}
int confdb_init(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
struct confdb_ctx **cdb_ctx,
char *confdb_location)
{
diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h
index d325ac8fb..d49040fee 100644
--- a/server/confdb/confdb.h
+++ b/server/confdb/confdb.h
@@ -86,7 +86,6 @@ int confdb_get_string_as_list(struct confdb_ctx *cdb, TALLOC_CTX *ctx,
char ***result);
int confdb_init(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
struct confdb_ctx **cdb_ctx,
char *confdb_location);