Commit a4b153bd authored by Thiago Rafael Becker's avatar Thiago Rafael Becker Committed by Greg Kroah-Hartman
Browse files

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: default avatarThiago Rafael Becker <trbecker@gmail.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Stable-dep-of: 4db9ad82 ("sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3ccfa826
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment