aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sunrpc/svc_xprt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c
index c0db66d81e34..c179ca2a5aa4 100644
--- a/net/sunrpc/svc_xprt.c
+++ b/net/sunrpc/svc_xprt.c
@@ -771,10 +771,6 @@ int svc_recv(struct svc_rqst *rqstp, long timeout)
771 "svc_recv: service %p, transport not NULL!\n", 771 "svc_recv: service %p, transport not NULL!\n",
772 rqstp); 772 rqstp);
773 773
774 /* Make sure the task pointer is set! */
775 if (WARN_ON_ONCE(!rqstp->rq_task))
776 rqstp->rq_task = current_task;
777
778 err = svc_alloc_arg(rqstp); 774 err = svc_alloc_arg(rqstp);
779 if (err) 775 if (err)
780 return err; 776 return err;