From 2c1caf5fcb002f5a4e049fcb812c98c435d0f2c9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 3 Mar 2012 00:59:56 +0100 Subject: s3: Remove unused smb_request->done --- source3/include/smb.h | 2 -- source3/smbd/process.c | 6 ------ 2 files changed, 8 deletions(-) (limited to 'source3') 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; } -- cgit