sunrpc: remove unnecessary test in rpc_task_set_client()
authorThiago Rafael Becker <trbecker@gmail.com>
Wed, 20 Oct 2021 21:04:28 +0000 (18:04 -0300)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Oct 2021 22:09:55 +0000 (18:09 -0400)
commit023859ce6f88f7cfc223752fb56ec453a147b852
tree9d1439d4cb5d0d06306e48d9642a289ee21cb77e
parent5fe1210d259542f966bab130830ece08e97f68f5
sunrpc: remove unnecessary test in rpc_task_set_client()

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>
net/sunrpc/clnt.c