summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
authorPaul E. McKenney2018-11-29 01:59:50 +0100
committerPaul E. McKenney2019-01-26 00:28:25 +0100
commitc97058d03329284068e45796df13510e5f940d8b (patch)
tree413e1b2e48c0a9b4277af8d1ace2a407504557ab /kernel/rcu/tree.c
parentrcu: Inline force_quiescent_state() into rcu_force_quiescent_state() (diff)
downloadkernel-qcow2-linux-c97058d03329284068e45796df13510e5f940d8b.tar.gz
kernel-qcow2-linux-c97058d03329284068e45796df13510e5f940d8b.tar.xz
kernel-qcow2-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 'kernel/rcu/tree.c')
-rw-r--r--kernel/rcu/tree.c2
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;