From 1d4a7ffdcf8b303a40058db49d5e1be4bfb8271a Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov Date: Dec 14 2019 01:04:09 +0000 Subject: providers/krb5: got rid of unused code Reviewed-by: Michal Židek --- diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c index bfda561..5c11c34 100644 --- a/src/providers/krb5/krb5_common.c +++ b/src/providers/krb5/krb5_common.c @@ -1133,16 +1133,6 @@ void remove_krb5_info_files_callback(void *pvt) talloc_free(ctx); } -void krb5_finalize(struct tevent_context *ev, - struct tevent_signal *se, - int signum, - int count, - void *siginfo, - void *private_data) -{ - orderly_shutdown(0); -} - errno_t krb5_get_simple_upn(TALLOC_CTX *mem_ctx, struct krb5_ctx *krb5_ctx, struct sss_domain_info *dom, const char *username, const char *user_dom, char **_upn) diff --git a/src/providers/krb5/krb5_common.h b/src/providers/krb5/krb5_common.h index cc93131..493d12e 100644 --- a/src/providers/krb5/krb5_common.h +++ b/src/providers/krb5/krb5_common.h @@ -196,13 +196,6 @@ int krb5_service_init(TALLOC_CTX *memctx, struct be_ctx *ctx, void remove_krb5_info_files_callback(void *pvt); -void krb5_finalize(struct tevent_context *ev, - struct tevent_signal *se, - int signum, - int count, - void *siginfo, - void *private_data); - errno_t remove_krb5_info_files(TALLOC_CTX *mem_ctx, const char *realm); errno_t krb5_get_simple_upn(TALLOC_CTX *mem_ctx, struct krb5_ctx *krb5_ctx,