summaryrefslogtreecommitdiffstats
path: root/src/responder/pam/pamsrv.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-05-19 15:09:05 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-06-06 13:38:19 -0400
commita572e241c20a4c5df4f282a2e54b89bf071369da (patch)
tree3bac9bb5368e7dfd22c1eec8c892758fbc556512 /src/responder/pam/pamsrv.c
parenta904f31f3560d80513809cb1f7c9affdd9cf5412 (diff)
downloadsssd-a572e241c20a4c5df4f282a2e54b89bf071369da.tar.gz
sssd-a572e241c20a4c5df4f282a2e54b89bf071369da.tar.xz
sssd-a572e241c20a4c5df4f282a2e54b89bf071369da.zip
Remove dead code from the PAM responder
Diffstat (limited to 'src/responder/pam/pamsrv.c')
-rw-r--r--src/responder/pam/pamsrv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/responder/pam/pamsrv.c b/src/responder/pam/pamsrv.c
index 7903e34c8..c82f0fab1 100644
--- a/src/responder/pam/pamsrv.c
+++ b/src/responder/pam/pamsrv.c
@@ -99,17 +99,6 @@ static void pam_dp_reconnect_init(struct sbus_connection *conn, int status, void
/* pam_shutdown(rctx); */
}
-static errno_t pam_get_config(struct pam_ctx *pctx,
- struct resp_ctx *rctx,
- struct confdb_ctx *cdb)
-{
- int ret = EOK;
- ret = confdb_get_int(cdb, pctx, CONFDB_PAM_CONF_ENTRY,
- CONFDB_PAM_CRED_TIMEOUT, 0,
- &pctx->cred_expiration);
- return ret;
-}
-
static int pam_process_init(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct confdb_ctx *cdb)
@@ -140,7 +129,6 @@ static int pam_process_init(TALLOC_CTX *mem_ctx,
}
pctx->rctx->pvt_ctx = pctx;
- ret = pam_get_config(pctx, pctx->rctx, pctx->rctx->cdb);
/* Enable automatic reconnection to the Data Provider */