summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-12-21 14:36:24 +0100
committerVolker Lendecke <vl@samba.org>2009-12-21 16:27:18 +0100
commitdfd876e3e85157da3549591ca0d46a416540e115 (patch)
tree33951d672cc107f9561d525d645cfda50831545c /source3
parent2591a524c0661b5dd4ed4e220a8b62cd76c00b41 (diff)
downloadsamba-dfd876e3e85157da3549591ca0d46a416540e115.tar.gz
samba-dfd876e3e85157da3549591ca0d46a416540e115.tar.bz2
samba-dfd876e3e85157da3549591ca0d46a416540e115.zip
s3: Remove unused do_async_domain
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_async.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/source3/winbindd/winbindd_async.c b/source3/winbindd/winbindd_async.c
index 1c56220614..62ffbacff9 100644
--- a/source3/winbindd/winbindd_async.c
+++ b/source3/winbindd/winbindd_async.c
@@ -84,33 +84,6 @@ void do_async(TALLOC_CTX *mem_ctx, struct winbindd_child *child,
&state->response, do_async_recv, state);
}
-static void do_async_domain(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain,
- const struct winbindd_request *request,
- void (*cont)(TALLOC_CTX *mem_ctx, bool success,
- struct winbindd_response *response,
- void *c, void *private_data),
- void *c, void *private_data)
-{
- struct do_async_state *state;
-
- state = TALLOC_ZERO_P(mem_ctx, struct do_async_state);
- if (state == NULL) {
- DEBUG(0, ("talloc failed\n"));
- cont(mem_ctx, False, NULL, c, private_data);
- return;
- }
-
- state->mem_ctx = mem_ctx;
- state->request = *request;
- state->request.length = sizeof(state->request);
- state->cont = cont;
- state->c = c;
- state->private_data = private_data;
-
- async_domain_request(mem_ctx, domain, &state->request,
- &state->response, do_async_recv, state);
-}
-
enum winbindd_result winbindd_dual_lookupsid(struct winbindd_domain *domain,
struct winbindd_cli_state *state)
{