mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] knfsd: Drop 'serv' option to svc_recv and svc_process
It isn't needed as it is available in rqstp->rq_server, and dropping it allows some local vars to be dropped. [[email protected]: build fix] Cc: "J. Bruce Fields" <[email protected]> Signed-off-by: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
896440d560
commit
6fb2b47fa1
7 changed files with 13 additions and 15 deletions
|
|
@ -253,13 +253,14 @@ svc_register(struct svc_serv *serv, int proto, unsigned short port)
|
|||
* Process the RPC request.
|
||||
*/
|
||||
int
|
||||
svc_process(struct svc_serv *serv, struct svc_rqst *rqstp)
|
||||
svc_process(struct svc_rqst *rqstp)
|
||||
{
|
||||
struct svc_program *progp;
|
||||
struct svc_version *versp = NULL; /* compiler food */
|
||||
struct svc_procedure *procp = NULL;
|
||||
struct kvec * argv = &rqstp->rq_arg.head[0];
|
||||
struct kvec * resv = &rqstp->rq_res.head[0];
|
||||
struct svc_serv *serv = rqstp->rq_server;
|
||||
kxdrproc_t xdr;
|
||||
__be32 *statp;
|
||||
u32 dir, prog, vers, proc;
|
||||
|
|
|
|||
|
|
@ -1166,9 +1166,10 @@ svc_sock_update_bufs(struct svc_serv *serv)
|
|||
* Receive the next request on any socket.
|
||||
*/
|
||||
int
|
||||
svc_recv(struct svc_serv *serv, struct svc_rqst *rqstp, long timeout)
|
||||
svc_recv(struct svc_rqst *rqstp, long timeout)
|
||||
{
|
||||
struct svc_sock *svsk =NULL;
|
||||
struct svc_serv *serv = rqstp->rq_server;
|
||||
int len;
|
||||
int pages;
|
||||
struct xdr_buf *arg;
|
||||
|
|
|
|||
Loading…
Reference in a new issue