diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-23 00:52:18 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-06 22:24:40 +0200 |
commit | 9ec2ef53b92fdbb1b5f24af000fc2ba0b18221ea (patch) | |
tree | 72db80132d4c1aa235e4b3ea46efb11e9a82e1d3 /net/sunrpc | |
parent | SUNRPC: Remove unused functions rpc_task_set/has_priority (diff) | |
download | linux-9ec2ef53b92fdbb1b5f24af000fc2ba0b18221ea.tar.xz linux-9ec2ef53b92fdbb1b5f24af000fc2ba0b18221ea.zip |
SUNRPC: Remove redundant call to rpc_set_running() in __rpc_execute()
The RPC_TASK_RUNNING flag will always have been set in rpc_make_runnable()
once we get past the test for out_of_line_wait_on_bit() returning
ERESTARTSYS.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/sched.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index dcbd69cb1cbd..b7b32c34c18d 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c @@ -790,7 +790,6 @@ static void __rpc_execute(struct rpc_task *task) task->tk_flags |= RPC_TASK_KILLED; rpc_exit(task, -ERESTARTSYS); } - rpc_set_running(task); dprintk("RPC: %5u sync task resuming\n", task->tk_pid); } |