sunrpc: remove unnecessary test in rpc_task_set_client()
[ Upstream commit 023859ce ] In rpc_task_set_client(), testing for a NULL clnt is not necessary, as clnt should always be a valid pointer to a rpc_client. Signed-off-by:Thiago Rafael Becker <trbecker@gmail.com> Signed-off-by:
Trond Myklebust <trond.myklebust@hammerspace.com> Stable-dep-of: 4db9ad82 ("sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading