Commit c97058d0 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent cd920e5a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -462,8 +462,6 @@ void rcu_request_urgent_qs_task(struct task_struct *t);

enum rcutorture_type {
	RCU_FLAVOR,
	RCU_BH_FLAVOR,
	RCU_SCHED_FLAVOR,
	RCU_TASKS_FLAVOR,
	SRCU_FLAVOR,
	INVALID_RCU_FLAVOR
+0 −2
Original line number Diff line number Diff line
@@ -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;