summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/smb.h2
-rw-r--r--source3/smbd/process.c6
2 files changed, 0 insertions, 8 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 553281d21b..8e9dd5162a 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -485,8 +485,6 @@ struct smb_request {
*/
void *async_priv;
- bool done;
-
/*
* Back pointer to smb2 request.
*/
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 676e67c2e0..90d3166993 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -538,7 +538,6 @@ static bool init_smb_request(struct smb_request *req,
req->sconn = sconn;
req->conn = conn_find(sconn,req->tid);
req->chain_fsp = NULL;
- req->done = false;
req->smb2req = NULL;
req->priv_paths = NULL;
smb_init_perfcount_data(&req->pcd);
@@ -1537,11 +1536,6 @@ static void construct_reply(struct smbd_server_connection *sconn,
conn = switch_message(req->cmd, req);
- if (req->done) {
- TALLOC_FREE(req);
- return;
- }
-
if (req->outbuf == NULL) {
return;
}