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

smbd: Remove unused "deferred_pcd" from process_smb1()

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 16:00:06 +02:00 committed by Jeremy Allison
parent 1550356679
commit 5adbc366de
3 changed files with 11 additions and 8 deletions

View File

@ -1504,9 +1504,11 @@ error:
****************************************************************************/
void process_smb1(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)
{
struct smbd_server_connection *sconn = xconn->client->sconn;

View File

@ -55,9 +55,11 @@ bool push_deferred_open_message_smb1(struct smb_request *req,
struct file_id id,
struct deferred_open_record *open_rec);
void process_smb1(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);
void smbd_echo_init(struct smbXsrv_connection *xconn);
void construct_reply(struct smbXsrv_connection *xconn,
char *inbuf,

View File

@ -602,8 +602,7 @@ void process_smb(struct smbXsrv_connection *xconn,
sconn->using_smb2 = false;
}
}
process_smb1(xconn, inbuf, nread, unread_bytes, seqnum, encrypted,
deferred_pcd);
process_smb1(xconn, inbuf, nread, unread_bytes, seqnum, encrypted);
#endif
done: