summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-10-24 00:02:01 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2015-11-02 14:24:50 +0100
commitba17e124aa7003a92680eda5df0a9b5292c8c19c (patch)
treee76bb6ddd7dda1b6fab8bbb974eda1c3c07843ed
parent4940ba14100ad11b0ed1f2a8a4fea5daa34d56ee (diff)
downloadsssd-ba17e124aa7003a92680eda5df0a9b5292c8c19c.tar.gz
sssd-ba17e124aa7003a92680eda5df0a9b5292c8c19c.tar.xz
sssd-ba17e124aa7003a92680eda5df0a9b5292c8c19c.zip
SDAP: Remove unused sdap_id_ctx from sdap_id_conn_cache_create
Reviewed-by: Pavel Reichl <preichl@redhat.com>
-rw-r--r--src/providers/ldap/ldap_common.c2
-rw-r--r--src/providers/ldap/sdap_id_op.c1
-rw-r--r--src/providers/ldap/sdap_id_op.h1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index aa4c6cb85..35de9c0a7 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -938,7 +938,7 @@ sdap_id_ctx_conn_add(struct sdap_id_ctx *id_ctx,
conn->id_ctx = id_ctx;
/* Create a connection cache */
- ret = sdap_id_conn_cache_create(conn, id_ctx, conn, &conn->conn_cache);
+ ret = sdap_id_conn_cache_create(conn, conn, &conn->conn_cache);
if (ret != EOK) {
talloc_free(conn);
return NULL;
diff --git a/src/providers/ldap/sdap_id_op.c b/src/providers/ldap/sdap_id_op.c
index 0474a9cb7..6ad7e8188 100644
--- a/src/providers/ldap/sdap_id_op.c
+++ b/src/providers/ldap/sdap_id_op.c
@@ -102,7 +102,6 @@ static void sdap_id_op_connect_done(struct tevent_req *subreq);
/* Create a connection cache */
int sdap_id_conn_cache_create(TALLOC_CTX *memctx,
- struct sdap_id_ctx *id_ctx,
struct sdap_id_conn_ctx *id_conn,
struct sdap_id_conn_cache** conn_cache_out)
{
diff --git a/src/providers/ldap/sdap_id_op.h b/src/providers/ldap/sdap_id_op.h
index b808dd89a..f7f230a73 100644
--- a/src/providers/ldap/sdap_id_op.h
+++ b/src/providers/ldap/sdap_id_op.h
@@ -38,7 +38,6 @@ struct sdap_id_op;
/* Create a connection cache */
int sdap_id_conn_cache_create(TALLOC_CTX *memctx,
- struct sdap_id_ctx *id_ctx,
struct sdap_id_conn_ctx *id_conn,
struct sdap_id_conn_cache** conn_cache_out);