s4-smbd: don't initialise process models more than once
[sfrench/samba-autobuild/.git] / source4 / smbd / service.c
index 7b53e9fa4e309ac55960be65b15927b1ef203ca1..9cdbbc28f3a1066afa9bc94d5f0ea9287c1fada5 100644 (file)
@@ -83,7 +83,7 @@ NTSTATUS server_service_startup(struct tevent_context *event_ctx,
                return NT_STATUS_INVALID_PARAMETER;
        }
 
-       model_ops = process_model_startup(event_ctx, model);
+       model_ops = process_model_startup(model);
        if (!model_ops) {
                DEBUG(0,("process_model_startup('%s') failed\n", model));
                return NT_STATUS_INTERNAL_ERROR;