summaryrefslogtreecommitdiff
path: root/source4/lib/registry/local.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-16 01:32:54 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-16 01:32:54 +0200
commit2ef07ad551d398c39a595494aaa083a932ef79aa (patch)
tree085e479e4a43e3ef05222912f60ca79e9ee49eec /source4/lib/registry/local.c
parent83c8d6cc89feeec797b9185fb967b24c9c088950 (diff)
downloadsamba-2ef07ad551d398c39a595494aaa083a932ef79aa.tar.gz
samba-2ef07ad551d398c39a595494aaa083a932ef79aa.tar.bz2
samba-2ef07ad551d398c39a595494aaa083a932ef79aa.zip
Remove unused arguments from reg_open_local().
(This used to be commit fee7ea7080ec40182efc6ffe57b267444eb9389a)
Diffstat (limited to 'source4/lib/registry/local.c')
-rw-r--r--source4/lib/registry/local.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source4/lib/registry/local.c b/source4/lib/registry/local.c
index 5bf2d86588..903bbb0b80 100644
--- a/source4/lib/registry/local.c
+++ b/source4/lib/registry/local.c
@@ -37,9 +37,6 @@ struct registry_local {
struct hive_key *key;
struct mountpoint *prev, *next;
} *mountpoints;
-
- struct auth_session_info *session_info;
- struct cli_credentials *credentials;
};
struct local_key {
@@ -294,9 +291,7 @@ const static struct registry_operations local_ops = {
.get_key_info = local_get_key_info,
};
-WERROR reg_open_local(TALLOC_CTX *mem_ctx, struct registry_context **ctx,
- struct auth_session_info *session_info,
- struct cli_credentials *credentials)
+WERROR reg_open_local(TALLOC_CTX *mem_ctx, struct registry_context **ctx)
{
struct registry_local *ret = talloc_zero(mem_ctx,
struct registry_local);
@@ -304,8 +299,6 @@ WERROR reg_open_local(TALLOC_CTX *mem_ctx, struct registry_context **ctx,
W_ERROR_HAVE_NO_MEMORY(ret);
ret->ops = &local_ops;
- ret->session_info = session_info;
- ret->credentials = credentials;
*ctx = (struct registry_context *)ret;