From baeaa179868fedb797df811bdf4d4a87bf604b8c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 11 Oct 2010 13:19:32 +1100 Subject: [PATCH] s4-kerberos Remove unused parameter --- source4/auth/kerberos/krb5_init_context.c | 3 +-- source4/auth/kerberos/krb5_init_context.h | 1 - source4/kdc/mit_samba.c | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c index ff356aa86f1..aebc79e7670 100644 --- a/source4/auth/kerberos/krb5_init_context.c +++ b/source4/auth/kerberos/krb5_init_context.c @@ -356,7 +356,6 @@ krb5_error_code smb_krb5_send_and_recv_func(krb5_context context, krb5_error_code smb_krb5_init_context_basic(TALLOC_CTX *tmp_ctx, - struct tevent_context *ev, struct loadparm_context *lp_ctx, krb5_context *_krb5_context) { @@ -431,7 +430,7 @@ krb5_error_code smb_krb5_init_context(void *parent_ctx, return ENOMEM; } - ret = smb_krb5_init_context_basic(tmp_ctx, ev, lp_ctx, + ret = smb_krb5_init_context_basic(tmp_ctx, lp_ctx, &(*smb_krb5_context)->krb5_context); if (ret) { DEBUG(1,("smb_krb5_context_init_basic failed (%s)\n", diff --git a/source4/auth/kerberos/krb5_init_context.h b/source4/auth/kerberos/krb5_init_context.h index f9e88ceef8e..c55b2dc8bc8 100644 --- a/source4/auth/kerberos/krb5_init_context.h +++ b/source4/auth/kerberos/krb5_init_context.h @@ -27,7 +27,6 @@ struct loadparm_context; krb5_error_code smb_krb5_init_context_basic(TALLOC_CTX *tmp_ctx, - struct tevent_context *ev, struct loadparm_context *lp_ctx, krb5_context *_krb5_context); diff --git a/source4/kdc/mit_samba.c b/source4/kdc/mit_samba.c index 14ad7be414d..956ccd394eb 100644 --- a/source4/kdc/mit_samba.c +++ b/source4/kdc/mit_samba.c @@ -91,7 +91,6 @@ static int mit_samba_context_init(struct mit_samba_context **_ctx) /* init heimdal's krb_context and log facilities */ ret = smb_krb5_init_context_basic(ctx, - ctx->db_ctx->ev_ctx, ctx->db_ctx->lp_ctx, &ctx->context); if (ret) { -- 2.11.4.GIT