diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-05-19 15:09:05 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-06 13:38:19 -0400 |
commit | a572e241c20a4c5df4f282a2e54b89bf071369da (patch) | |
tree | 3bac9bb5368e7dfd22c1eec8c892758fbc556512 /src/responder/pam/pamsrv.c | |
parent | a904f31f3560d80513809cb1f7c9affdd9cf5412 (diff) | |
download | sssd-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.c | 12 |
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 */ |