]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf9e170223b19f999548af1213c97588ad328882
tree3fb6f6046b67e1eceed21850eca64bdccdd410fe
parent286436019e7f712188690dda76688fa4d4289f26
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