diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index b344cb18eaf..aa549c9cc3e 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -847,10 +847,6 @@ NTSTATUS make_default_filesystem_acl( /* The following definitions come from smbd/smb2_process.c */ -bool srv_send_smb(struct smbXsrv_connection *xconn, char *buffer, - bool no_signing, uint32_t seqnum, - bool do_encrypt, - struct smb_perfcount_data *pcd); bool smb2_srv_send(struct smbXsrv_connection *xconn, char *buffer, bool no_signing, uint32_t seqnum, bool do_encrypt, diff --git a/source3/smbd/smb2_process.c b/source3/smbd/smb2_process.c index 5c80c875f67..545649701e7 100644 --- a/source3/smbd/smb2_process.c +++ b/source3/smbd/smb2_process.c @@ -123,22 +123,6 @@ bool smb1_srv_send(struct smbXsrv_connection *xconn, char *buffer, } #endif -#if 0 -bool srv_send_smb(struct smbXsrv_connection *xconn, char *buffer, - bool do_signing, uint32_t seqnum, - bool do_encrypt, - struct smb_perfcount_data *pcd) -{ -#if !defined(WITH_SMB1SERVER) - return smb2_srv_send(xconn, buffer, do_signing, seqnum, - do_encrypt, pcd); -#else - return smb1_srv_send(xconn, buffer, do_signing, seqnum, - do_encrypt, pcd); -#endif -} -#endif - /******************************************************************* Setup the word count and byte count for a smb message. ********************************************************************/