summaryrefslogtreecommitdiff
path: root/source4/param/share.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/share.c')
-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
*/