summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-10-11 13:19:32 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-10-11 13:02:15 +0000
commitbaeaa179868fedb797df811bdf4d4a87bf604b8c (patch)
treea0b87ac63d2e1374b58dab5420cc5e385a26061a /source4
parent1ef59ea9db447ffe0ed32ca3f9c20788e143fbcd (diff)
downloadsamba-baeaa179868fedb797df811bdf4d4a87bf604b8c.tar.gz
samba-baeaa179868fedb797df811bdf4d4a87bf604b8c.tar.bz2
samba-baeaa179868fedb797df811bdf4d4a87bf604b8c.zip
s4-kerberos Remove unused parameter
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/kerberos/krb5_init_context.c3
-rw-r--r--source4/auth/kerberos/krb5_init_context.h1
-rw-r--r--source4/kdc/mit_samba.c1
3 files changed, 1 insertions, 4 deletions
diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c
index ff356aa86f..aebc79e767 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 f9e88ceef8..c55b2dc8bc 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 14ad7be414..956ccd394e 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) {