]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: remove unused vuser arg from make_connection_smb1()
authorRalph Boehme <slow@samba.org>
Thu, 2 Jan 2020 16:07:23 +0000 (17:07 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 13 Jan 2020 19:41:36 +0000 (19:41 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/service.c

index c8eef0fc53c4569fef0b2b456c4156d1f5cb4fcb..73a5ddbe479a8ca042fb1533b8cf5078d564fb12 100644 (file)
@@ -919,7 +919,7 @@ static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn,
 
 static connection_struct *make_connection_smb1(struct smb_request *req,
                                        NTTIME now,
-                                       int snum, struct user_struct *vuser,
+                                       int snum,
                                        const char *pdev,
                                        NTSTATUS *pstatus)
 {
@@ -1081,7 +1081,6 @@ connection_struct *make_connection(struct smb_request *req,
                          "created at session setup time\n"));
                return make_connection_smb1(req, now,
                                            session->homes_snum,
-                                           vuser,
                                            dev, status);
        } else if ((session->homes_snum != -1)
                   && strequal(service_in,
@@ -1090,7 +1089,6 @@ connection_struct *make_connection(struct smb_request *req,
                          "created at session setup time\n", service_in));
                return make_connection_smb1(req, now,
                                            session->homes_snum,
-                                           vuser,
                                            dev, status);
        }
 
@@ -1140,7 +1138,7 @@ connection_struct *make_connection(struct smb_request *req,
 
        DEBUG(5, ("making a connection to 'normal' service %s\n", service));
 
-       return make_connection_smb1(req, now, snum, vuser,
+       return make_connection_smb1(req, now, snum,
                                    dev, status);
 }