s4:libcli/smb2: remove unused smb2_session->pid
[kai/samba.git] / source4 / libcli / smb2 / request.c
index 4a40d832fce7177ef9c9b95bc18745feb38185d0..3024e01510aed924f167d64fb1f30adb1f03bd16 100644 (file)
@@ -126,7 +126,6 @@ struct smb2_request *smb2_request_init_tree(struct smb2_tree *tree, uint16_t opc
                                                     body_dynamic_size);
        if (req == NULL) return NULL;
 
-       SIVAL(req->out.hdr,  SMB2_HDR_PID, tree->session->pid);
        req->session = tree->session;
        req->tree = tree;