summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-08-20 16:12:32 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-28 18:06:57 +0200
commit25e64abcac8db1d6a9efc7195259f760cebede54 (patch)
tree1efa5bd99d59b51f71f59d555c28e100aebe97bc
parent4c63d8ae272923a734e3772f1cad49cbc1ee6e34 (diff)
downloadsssd-25e64abcac8db1d6a9efc7195259f760cebede54.tar.gz
sssd-25e64abcac8db1d6a9efc7195259f760cebede54.tar.bz2
sssd-25e64abcac8db1d6a9efc7195259f760cebede54.zip
LDAP: Remove unused constant
The constant was not used since Euegene came up with his reconnection logic.
-rw-r--r--src/providers/ldap/ldap_id_enum.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/providers/ldap/ldap_id_enum.c b/src/providers/ldap/ldap_id_enum.c
index 4e8a80c4..7d9ff3be 100644
--- a/src/providers/ldap/ldap_id_enum.c
+++ b/src/providers/ldap/ldap_id_enum.c
@@ -176,8 +176,6 @@ int ldap_id_enumerate_set_timer(struct sdap_id_ctx *ctx, struct timeval tv)
return EOK;
}
-#define MAX_ENUM_RESTARTS 3
-
struct global_enum_state {
struct tevent_context *ev;
struct sdap_id_ctx *ctx;