mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
sunrpc: remove unnecessary test in rpc_task_set_client()
[ Upstream commit023859ce6f] 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:4db9ad82a6("sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
7338c43777
commit
197b613c90
1 changed files with 15 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue