summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-10 18:41:55 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:17 +0100
commitf055893ca571fbeac3675c02344c7cc53106bea1 (patch)
tree1dfa4dc151018102d18a219b9a6e20c1c78ae913 /source4/param
parent274d07ddff5c5920b9a2f3674e9104d8aab9e90c (diff)
downloadsamba-f055893ca571fbeac3675c02344c7cc53106bea1.tar.gz
samba-f055893ca571fbeac3675c02344c7cc53106bea1.tar.bz2
samba-f055893ca571fbeac3675c02344c7cc53106bea1.zip
r26382: Remove more uses of global_loadparm.
(This used to be commit 6d4c59853481855c232e7cf97264a391f40af2b5)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/share.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/source4/param/share.c b/source4/param/share.c
index 7ee1d8037a..4b747f85ae 100644
--- a/source4/param/share.c
+++ b/source4/param/share.c
@@ -126,9 +126,8 @@ NTSTATUS share_register(const struct share_ops *ops)
return NT_STATUS_OK;
}
-NTSTATUS share_get_context_by_name(TALLOC_CTX *mem_ctx,
- const char *backend_name,
- struct share_context **ctx)
+NTSTATUS share_get_context_by_name(TALLOC_CTX *mem_ctx, const char *backend_name,
+ struct share_context **ctx)
{
const struct share_ops *ops;
@@ -141,11 +140,6 @@ NTSTATUS share_get_context_by_name(TALLOC_CTX *mem_ctx,
return ops->init(mem_ctx, ops, ctx);
}
-NTSTATUS share_get_context(TALLOC_CTX *mem_ctx, struct share_context **ctx)
-{
- return share_get_context_by_name(mem_ctx, lp_share_backend(global_loadparm), ctx);
-}
-
/*
initialise the SHARE subsystem
*/