From: ideawu Date: Thu, 26 Mar 2009 04:55:29 +0000 (+0800) Subject: sunrpc/svc.c: Remove unused line 'rqstp->rq_server = serv;' in svc_process X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=abd91ee979f785b7377216532620d98ab4e3e5af;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git sunrpc/svc.c: Remove unused line 'rqstp->rq_server = serv;' in svc_process There is no need to set rqstp->rq_server to serv, while serv is initialized as rqstp->rq_server at previous line. And between these two lines, there is no change to rqstp->rq_server. Signed-off-by: ideawu Reviewed-by: Tom Tucker Signed-off-by: J. Bruce Fields --- diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index c51fed4d1af1..fff09a2d8960 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -1093,7 +1093,6 @@ svc_process(struct svc_rqst *rqstp) procp = versp->vs_proc + proc; if (proc >= versp->vs_nproc || !procp->pc_func) goto err_bad_proc; - rqstp->rq_server = serv; rqstp->rq_procinfo = procp; /* Syntactic check complete */