diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-02-04 21:58:29 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-02-04 21:58:29 +1100 |
commit | 0f8eeb81ec109cde681961614fb690f8373fa9c6 (patch) | |
tree | 03d3fe8f2a594cb291a3ecd10ab5c4a367cca556 /source4/kdc/kdc.c | |
parent | b3c5fbec47739ee2bb26f900d1f564a36dc3ad82 (diff) | |
download | samba-0f8eeb81ec109cde681961614fb690f8373fa9c6.tar.gz samba-0f8eeb81ec109cde681961614fb690f8373fa9c6.tar.xz samba-0f8eeb81ec109cde681961614fb690f8373fa9c6.zip |
Remove useless layer of indirection, where every service called
task_service_init() manually. Now this is called from service.c for
all services.
Andrew Bartlett
(This used to be commit 9c9a4731cafd0dcf6c8523a7b06759cd4f14e4db)
Diffstat (limited to 'source4/kdc/kdc.c')
-rw-r--r-- | source4/kdc/kdc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c index d820f0abe97..52ee4758625 100644 --- a/source4/kdc/kdc.c +++ b/source4/kdc/kdc.c @@ -660,18 +660,8 @@ static void kdc_task_init(struct task_server *task) } -/* - called on startup of the KDC service -*/ -static NTSTATUS kdc_init(struct event_context *event_ctx, - struct loadparm_context *lp_ctx, - const struct model_ops *model_ops) -{ - return task_server_startup(event_ctx, lp_ctx, "kdc", model_ops, kdc_task_init); -} - /* called at smbd startup - register ourselves as a server service */ NTSTATUS server_service_kdc_init(void) { - return register_server_service("kdc", kdc_init); + return register_server_service("kdc", kdc_task_init); } |