summaryrefslogtreecommitdiffstats
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)
"svc_recv: service %p, transport not NULL!\n",
rqstp);
- /* Make sure the task pointer is set! */
- if (WARN_ON_ONCE(!rqstp->rq_task))
- rqstp->rq_task = current_task;
-
err = svc_alloc_arg(rqstp);
if (err)
return err;