mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
nfsd4: remove unused init_session return
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
ae7095a7c4
commit
7c1f8b65af
@ -945,7 +945,7 @@ static struct nfsd4_session *alloc_session(struct nfsd4_channel_attrs *fchan)
|
||||
return new;
|
||||
}
|
||||
|
||||
static struct nfsd4_session *init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp, struct nfsd4_create_session *cses)
|
||||
void init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp, struct nfsd4_create_session *cses)
|
||||
{
|
||||
int idx;
|
||||
|
||||
@ -978,7 +978,6 @@ static struct nfsd4_session *init_session(struct svc_rqst *rqstp, struct nfsd4_s
|
||||
rpc_copy_addr((struct sockaddr *)&clp->cl_cb_conn.cb_addr, sa);
|
||||
clp->cl_cb_conn.cb_addrlen = svc_addr_len(sa);
|
||||
}
|
||||
return new;
|
||||
}
|
||||
|
||||
/* caller must hold client_lock */
|
||||
|
Loading…
Reference in New Issue
Block a user