summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clidgram.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c
index cfed06794d..377219448b 100644
--- a/source3/libsmb/clidgram.c
+++ b/source3/libsmb/clidgram.c
@@ -450,8 +450,6 @@ NTSTATUS nbt_getdc(struct messaging_context *msg_ctx,
TALLOC_CTX *frame = talloc_stackframe();
struct tevent_context *ev;
struct tevent_req *req;
- enum tevent_req_state err_state;
- uint64_t error;
NTSTATUS status = NT_STATUS_NO_MEMORY;
ev = tevent_context_init(frame);
@@ -473,11 +471,6 @@ NTSTATUS nbt_getdc(struct messaging_context *msg_ctx,
status = nbt_getdc_recv(req, mem_ctx, pnt_version, dc_name,
samlogon_response);
fail:
- if (ev && req &&
- tevent_req_is_error(req, &err_state, &error) &&
- err_state == TEVENT_REQ_TIMED_OUT) {
- status = NT_STATUS_IO_TIMEOUT;
- }
TALLOC_FREE(frame);
return status;
}