Re: [RFCv3 PATCH 38/48] sched: Infrastructure to query if load balancing is energy-aware

From: Peter Zijlstra
Date: Tue Mar 24 2015 - 09:41:28 EST


On Wed, Feb 04, 2015 at 06:31:15PM +0000, Morten Rasmussen wrote:

> + .use_ea = (energy_aware() && sd->groups->sge) ? true : false,

The return value of a logical and should already be a boolean.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/