summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-03 00:59:56 +0100
committerVolker Lendecke <vl@samba.org>2012-03-10 15:34:12 +0100
commit2c1caf5fcb002f5a4e049fcb812c98c435d0f2c9 (patch)
treea98d2d6daa4cb3b3139efc973c75769b09719bd3 /source3/smbd
parent3a7bc3abb837b8c9df2c156440eb8a6f7e60c8d9 (diff)
downloadsamba-2c1caf5fcb002f5a4e049fcb812c98c435d0f2c9.tar.gz
samba-2c1caf5fcb002f5a4e049fcb812c98c435d0f2c9.tar.bz2
samba-2c1caf5fcb002f5a4e049fcb812c98c435d0f2c9.zip
s3: Remove unused smb_request->done
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c6
1 files changed, 0 insertions, 6 deletions
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;
}