1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

smbd: Remove unused "pcd" from struct smb_request

After the macros went away, nobody read this anymore

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2023-06-05 15:55:10 +02:00 committed by Jeremy Allison
parent 625056af0b
commit 43f64955dc
3 changed files with 0 additions and 8 deletions

View File

@ -814,8 +814,6 @@ struct smb_request {
*/
struct smbXsrv_session *session;
struct smb_perfcount_data pcd;
/*
* Chained request handling
*/

View File

@ -1314,11 +1314,6 @@ void construct_reply(struct smbXsrv_connection *xconn,
req->inbuf = (uint8_t *)talloc_move(req, &inbuf);
/* we popped this message off the queue - keep original perf data */
if (deferred_pcd) {
req->pcd = *deferred_pcd;
}
req->conn = switch_message(req->cmd, req);
if (req->outbuf == NULL) {

View File

@ -757,7 +757,6 @@ bool init_smb1_request(struct smb_request *req,
req->smb2req = NULL;
req->chain = NULL;
req->posix_pathnames = lp_posix_pathnames();
smb_init_perfcount_data(&req->pcd);
/* Ensure we have at least wct words and 2 bytes of bcc. */
if (smb_size + req->wct*2 > req_size) {