From ba17e124aa7003a92680eda5df0a9b5292c8c19c Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Sat, 24 Oct 2015 00:02:01 +0200 Subject: SDAP: Remove unused sdap_id_ctx from sdap_id_conn_cache_create Reviewed-by: Pavel Reichl --- src/providers/ldap/ldap_common.c | 2 +- src/providers/ldap/sdap_id_op.c | 1 - src/providers/ldap/sdap_id_op.h | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c index aa4c6cb8..35de9c0a 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 0474a9cb..6ad7e818 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 b808dd89..f7f230a7 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); -- cgit