From: Ralph Boehme Date: Thu, 2 Jan 2020 16:09:26 +0000 (+0100) Subject: smbd: remove unused vuser arg from make_connection_smb2() X-Git-Tag: ldb-2.1.0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=758c42ec5dd3dd8bba7b4f74741dc9b02cfb0d73;p=thirdparty%2Fsamba.git smbd: remove unused vuser arg from make_connection_smb2() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index db1046a2df5..a8e2393f264 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -1078,7 +1078,6 @@ int find_service(TALLOC_CTX *ctx, const char *service, char **p_service_out); connection_struct *make_connection_smb2(struct smbd_smb2_request *req, struct smbXsrv_tcon *tcon, int snum, - struct user_struct *vuser, const char *pdev, NTSTATUS *pstatus); connection_struct *make_connection(struct smb_request *req, diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 73a5ddbe479..94e0eb49569 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -990,7 +990,6 @@ static connection_struct *make_connection_smb1(struct smb_request *req, connection_struct *make_connection_smb2(struct smbd_smb2_request *req, struct smbXsrv_tcon *tcon, int snum, - struct user_struct *vuser, const char *pdev, NTSTATUS *pstatus) { diff --git a/source3/smbd/smb2_tcon.c b/source3/smbd/smb2_tcon.c index 0827fb068e6..ee799c83851 100644 --- a/source3/smbd/smb2_tcon.c +++ b/source3/smbd/smb2_tcon.c @@ -333,7 +333,6 @@ static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req, compat_conn = make_connection_smb2(req, tcon, snum, - req->session->compat, "???", &status); if (compat_conn == NULL) {