diff options
Diffstat (limited to 'source4/param/share.c')
-rw-r--r-- | source4/param/share.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/param/share.c b/source4/param/share.c index 5bf5879290..7ee1d8037a 100644 --- a/source4/param/share.c +++ b/source4/param/share.c @@ -149,15 +149,11 @@ NTSTATUS share_get_context(TALLOC_CTX *mem_ctx, struct share_context **ctx) /* initialise the SHARE subsystem */ -NTSTATUS share_init(struct loadparm_context *lp_ctx) +NTSTATUS share_init(void) { init_module_fn static_init[] = STATIC_share_MODULES; - init_module_fn *shared_init = load_samba_modules(NULL, lp_ctx, "share"); run_init_functions(static_init); - run_init_functions(shared_init); - - talloc_free(shared_init); return NT_STATUS_OK; } |