s4:libcli/smb2: remove unused smb2_session->pid
[kai/samba.git] / source4 / libcli / smb2 / session.c
index 57033b866af57c772166916fea4bc912e8262f6f..93b9896e7cbd08a01749acb2dfb267f6f5ff3161 100644 (file)
@@ -51,8 +51,6 @@ struct smb2_session *smb2_session_init(struct smb2_transport *transport,
                session->transport = talloc_reference(session, transport);
        }
 
-       session->pid = getpid();
-
        session->smbXcli = smbXcli_session_create(session, transport->conn);
        if (session->smbXcli == NULL) {
                talloc_free(session);