diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index c0db66d81e344da69c2a80c903f14a5a231e5eaf..c179ca2a5aa45b8f37c44a660f50fc4b04c08273 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;