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

rcutorture: Use 1-suffixed variable in rcu_torture_write_types() check



This commit changes the use of gp_poll_exp to gp_poll_exp1 in the first
check in rcu_torture_write_types().  No functional effect, but consistency
is a good thing.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent d761de8a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1196,7 +1196,7 @@ static void rcu_torture_write_types(void)

	/* Initialize synctype[] array.  If none set, take default. */
	if (!gp_cond1 && !gp_cond_exp1 && !gp_cond_full1 && !gp_cond_exp_full1 && !gp_exp1 &&
	    !gp_poll_exp && !gp_poll_exp_full1 && !gp_normal1 && !gp_poll1 && !gp_poll_full1 &&
	    !gp_poll_exp1 && !gp_poll_exp_full1 && !gp_normal1 && !gp_poll1 && !gp_poll_full1 &&
	    !gp_sync1)
		gp_cond1 = gp_cond_exp1 = gp_cond_full1 = gp_cond_exp_full1 = gp_exp1 =
			   gp_poll_exp1 = gp_poll_exp_full1 = gp_normal1 = gp_poll1 =