SUNRPC: Remove redundant calls to RPC_IS_QUEUED()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Mar 2019 21:20:11 +0000 (16:20 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Mar 2019 21:22:58 +0000 (16:22 -0500)
commit6b5f590016870a989a94d61c984e3bfc7a37bfe7
tree3fb6f6046b67e1eceed21850eca64bdccdd410fe
parentcea57789e4081870ac3498fbefabbbd0d0fd8434
SUNRPC: Remove redundant calls to RPC_IS_QUEUED()

The RPC task wakeup calls all check for RPC_IS_QUEUED() before taking any
locks. In addition, rpc_exit() already calls rpc_wake_up_queued_task().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c
net/sunrpc/sched.c