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

Commit d3e15180 authored by Satya Durga Srinivasu Prabhala's avatar Satya Durga Srinivasu Prabhala Committed by Gerrit - the friendly Code Review server
Browse files

sched: remove conversion to bool in is_full_throttle_boost



is_full_throttle_boost checks for sched_boost() and returns either true
or false which can be achieved by just return the check itself.

Change-Id: I8e996a5ae8713a972fb0ef181e709bcd61ed7005
Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent 6011fe15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3004,7 +3004,7 @@ static inline bool rt_boost_on_big(void)

static inline bool is_full_throttle_boost(void)
{
	return sched_boost() == FULL_THROTTLE_BOOST ? true : false;
	return sched_boost() == FULL_THROTTLE_BOOST;
}

extern int preferred_cluster(struct sched_cluster *cluster,