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:
parent
625056af0b
commit
43f64955dc
@ -814,8 +814,6 @@ struct smb_request {
|
||||
*/
|
||||
struct smbXsrv_session *session;
|
||||
|
||||
struct smb_perfcount_data pcd;
|
||||
|
||||
/*
|
||||
* Chained request handling
|
||||
*/
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user