diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-23 02:52:18 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-07 00:24:40 +0400 |
commit | 9ec2ef53b92fdbb1b5f24af000fc2ba0b18221ea (patch) | |
tree | 72db80132d4c1aa235e4b3ea46efb11e9a82e1d3 /net/sunrpc/sched.c | |
parent | 74fe5f7c2a74d58a39a386bd511e50d1dfc0134c (diff) | |
download | linux-9ec2ef53b92fdbb1b5f24af000fc2ba0b18221ea.tar.xz |
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/sched.c')
-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); } |