diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-03 17:22:34 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-08-30 16:03:14 -0700 |
commit | 63d4c8c97948b0be8cb7ef3b7b943c25864eae4b (patch) | |
tree | 2ac33471426b489f882ad3bbc369e0e525418dfb /kernel/rcu/tree.h | |
parent | 4580b0541beac895a9ba9a4b6f60aec94355bfdd (diff) | |
download | linux-63d4c8c97948b0be8cb7ef3b7b943c25864eae4b.tar.gz linux-63d4c8c97948b0be8cb7ef3b7b943c25864eae4b.tar.bz2 linux-63d4c8c97948b0be8cb7ef3b7b943c25864eae4b.zip |
rcu: Remove rsp parameter from expedited grace-period functions
There now is only one rcu_state structure in a given build of the
Linux kernel, so there is no need to pass it as a parameter to
RCU's functions. This commit therefore removes the rsp parameter
from the code in kernel/rcu/tree_exp.h, and removes all of the
rsp local variables while in the area.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.h')
-rw-r--r-- | kernel/rcu/tree.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 7c6033d71e9d..b21d79bdab23 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -61,7 +61,6 @@ struct rcu_dynticks { /* Communicate arguments to a workqueue handler. */ struct rcu_exp_work { smp_call_func_t rew_func; - struct rcu_state *rew_rsp; unsigned long rew_s; struct work_struct rew_work; }; |