diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-25 21:40:50 -0800 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-02-28 23:26:25 -0800 |
commit | f5fb7b06e4e4ab18326f067f4317b2016ce18af2 (patch) | |
tree | c1a2c972d373d503b432f592b52d4fd2a59a1b46 /net | |
parent | eb276c0e10187702928aeaa133e1d3dbaf3eafc7 (diff) | |
download | blackbird-op-linux-f5fb7b06e4e4ab18326f067f4317b2016ce18af2.tar.gz blackbird-op-linux-f5fb7b06e4e4ab18326f067f4317b2016ce18af2.zip |
SUNRPC: Eliminate the now-redundant rpc_start_wakeup()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/sched.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index 043eef4c15a2..88a686a8e43e 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c @@ -384,12 +384,8 @@ static void __rpc_do_wake_up_task(struct rpc_wait_queue *queue, struct rpc_task */ static void rpc_wake_up_task_queue_locked(struct rpc_wait_queue *queue, struct rpc_task *task) { - if (!RPC_IS_QUEUED(task) || task->tk_waitqueue != queue) - return; - if (rpc_start_wakeup(task)) { - __rpc_do_wake_up_task(queue, task); - rpc_finish_wakeup(task); - } + if (RPC_IS_QUEUED(task) && task->tk_waitqueue == queue) + __rpc_do_wake_up_task(queue, task); } /* |