Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ce035fb authored by Joe Perches's avatar Joe Perches Committed by Paul E. McKenney
Browse files

rcu: tree_plugin: Use bool function return values of true/false not 1/0



Use the normal return values for bool functions

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent cd73ca21
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3056,9 +3056,9 @@ static bool rcu_nohz_full_cpu(struct rcu_state *rsp)
	if (tick_nohz_full_cpu(smp_processor_id()) &&
	    (!rcu_gp_in_progress(rsp) ||
	     ULONG_CMP_LT(jiffies, READ_ONCE(rsp->gp_start) + HZ)))
		return 1;
		return true;
#endif /* #ifdef CONFIG_NO_HZ_FULL */
	return 0;
	return false;
}

/*