summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-11-26 11:54:56 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-12-07 17:09:19 -0500
commit19a6d8f94b99684ab1a2f6d9b580ad0040dd31fe (patch)
tree5d399ebc72a367d4e1e8b195fa197446d3756d6c /src
parentcf1cf7b96d38c8b481a90d800cf53546ac15ce8a (diff)
downloadsssd-19a6d8f94b99684ab1a2f6d9b580ad0040dd31fe.tar.gz
sssd-19a6d8f94b99684ab1a2f6d9b580ad0040dd31fe.tar.bz2
sssd-19a6d8f94b99684ab1a2f6d9b580ad0040dd31fe.zip
ldap: remove variable that was never assigned nor used
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/ldap_common.h2
-rw-r--r--src/providers/ldap/sdap_id_op.c8
2 files changed, 0 insertions, 10 deletions
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index f1af8fc7..f6b5c118 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -43,8 +43,6 @@ struct sdap_id_ctx {
struct fo_service *fo_service;
struct sdap_service *service;
- /* what rootDSE returns */
- struct sysdb_attrs *rootDSE;
/* If using GSSAPI */
struct krb5_service *krb5_service;
diff --git a/src/providers/ldap/sdap_id_op.c b/src/providers/ldap/sdap_id_op.c
index 0c95ccf3..a79c64b9 100644
--- a/src/providers/ldap/sdap_id_op.c
+++ b/src/providers/ldap/sdap_id_op.c
@@ -64,8 +64,6 @@ struct sdap_id_conn_data {
struct sdap_id_conn_data *prev, *next;
/* sdap handle */
struct sdap_handle *sh;
- /* what rootDSE returns */
- struct sysdb_attrs *rootDSE;
/* connection request */
struct tevent_req *connect_req;
/* timer for connection expiration */
@@ -767,9 +765,3 @@ struct sdap_handle *sdap_id_op_handle(struct sdap_id_op *op)
{
return op && op->conn_data ? op->conn_data->sh : NULL;
}
-
-/* Begin to connect to LDAP server */
-const struct sysdb_attrs *sdap_id_op_rootDSE(struct sdap_id_op *op)
-{
- return op && op->conn_data ? op->conn_data->rootDSE : NULL;
-}