diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-29 01:59:50 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-01-26 00:28:25 +0100 |
commit | c97058d03329284068e45796df13510e5f940d8b (patch) | |
tree | 413e1b2e48c0a9b4277af8d1ace2a407504557ab /kernel/rcu/tree.c | |
parent | rcu: Inline force_quiescent_state() into rcu_force_quiescent_state() (diff) | |
download | linux-c97058d03329284068e45796df13510e5f940d8b.tar.xz linux-c97058d03329284068e45796df13510e5f940d8b.zip |
rcu: Eliminate RCU_BH_FLAVOR and RCU_SCHED_FLAVOR
Now that the RCU flavors have been consolidated, RCU_BH_FLAVOR and
RCU_SCHED_FLAVOR are no longer used. This commit therefore saves a
few lines by removing them.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to '')
-rw-r--r-- | kernel/rcu/tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index e56a46444775..fc37bec32731 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -556,8 +556,6 @@ void rcutorture_get_gp_data(enum rcutorture_type test_type, int *flags, { switch (test_type) { case RCU_FLAVOR: - case RCU_BH_FLAVOR: - case RCU_SCHED_FLAVOR: *flags = READ_ONCE(rcu_state.gp_flags); *gp_seq = rcu_seq_current(&rcu_state.gp_seq); break; |