mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
smbd: Remove unused "deferred_pcd" from process_smb2()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
12f1d94a4e
commit
f13b8b1036
@ -543,9 +543,11 @@ bool valid_smb1_header(const uint8_t *inbuf)
|
||||
****************************************************************************/
|
||||
|
||||
static void process_smb2(struct smbXsrv_connection *xconn,
|
||||
uint8_t *inbuf, size_t nread, size_t unread_bytes,
|
||||
uint32_t seqnum, bool encrypted,
|
||||
struct smb_perfcount_data *deferred_pcd)
|
||||
uint8_t *inbuf,
|
||||
size_t nread,
|
||||
size_t unread_bytes,
|
||||
uint32_t seqnum,
|
||||
bool encrypted)
|
||||
{
|
||||
const uint8_t *inpdu = inbuf + NBT_HDR_SIZE;
|
||||
size_t pdulen = nread - NBT_HDR_SIZE;
|
||||
@ -584,8 +586,12 @@ void process_smb(struct smbXsrv_connection *xconn,
|
||||
* we make the decision here.. */
|
||||
if (smbd_is_smb2_header(inbuf, nread)) {
|
||||
#endif
|
||||
process_smb2(xconn, inbuf, nread, unread_bytes, seqnum,
|
||||
encrypted, deferred_pcd);
|
||||
process_smb2(xconn,
|
||||
inbuf,
|
||||
nread,
|
||||
unread_bytes,
|
||||
seqnum,
|
||||
encrypted);
|
||||
return;
|
||||
#if defined(WITH_SMB1SERVER)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user