summaryrefslogtreecommitdiff
path: root/server/responder
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-10-15 12:24:59 -0400
committerSimo Sorce <ssorce@redhat.com>2009-10-15 18:20:03 -0400
commit9a554bc4e94c99ed7969468a5c345608a5777af0 (patch)
tree70a9c57b0910bc34770dba7426a5e7b6998fea9a /server/responder
parent93362b533abfc41ad4d8c3e91399549a545b9d51 (diff)
downloadsssd-9a554bc4e94c99ed7969468a5c345608a5777af0.tar.gz
sssd-9a554bc4e94c99ed7969468a5c345608a5777af0.tar.bz2
sssd-9a554bc4e94c99ed7969468a5c345608a5777af0.zip
Remove two unused functions.
These functions were used when reconnecting to the DP after losing the connection. Since there is no DP any longer, there's no reason to have these functions.
Diffstat (limited to 'server/responder')
-rw-r--r--server/responder/nss/nsssrv.c8
-rw-r--r--server/responder/pam/pamsrv.c10
2 files changed, 0 insertions, 18 deletions
diff --git a/server/responder/nss/nsssrv.c b/server/responder/nss/nsssrv.c
index 319c0b74..9e93c069 100644
--- a/server/responder/nss/nsssrv.c
+++ b/server/responder/nss/nsssrv.c
@@ -216,14 +216,6 @@ done:
return ret;
}
-static void nss_shutdown(struct resp_ctx *rctx)
-{
- /* TODO: Do clean-up here */
-
- /* Nothing left to do but exit() */
- exit(0);
-}
-
static struct sbus_method nss_dp_methods[] = {
{ NULL, NULL }
};
diff --git a/server/responder/pam/pamsrv.c b/server/responder/pam/pamsrv.c
index 53478522..4e740637 100644
--- a/server/responder/pam/pamsrv.c
+++ b/server/responder/pam/pamsrv.c
@@ -63,8 +63,6 @@ struct sbus_interface monitor_pam_interface = {
NULL
};
-static void pam_shutdown(struct resp_ctx *ctx);
-
static int service_reload(DBusMessage *message, struct sbus_connection *conn) {
/* Monitor calls this function when we need to reload
* our configuration information. Perform whatever steps
@@ -75,14 +73,6 @@ static int service_reload(DBusMessage *message, struct sbus_connection *conn) {
return monitor_common_pong(message, conn);
}
-static void pam_shutdown(struct resp_ctx *rctx)
-{
- /* TODO: Do clean-up here */
-
- /* Nothing left to do but exit() */
- exit(0);
-}
-
static struct sbus_method pam_dp_methods[] = {
{ NULL, NULL }
};