Re: [PATCH v2] sched: fix unlikely use of sched_info_on()

From: Peter Zijlstra
Date: Fri Jul 05 2019 - 07:49:28 EST

On Fri, Jul 05, 2019 at 12:35:07PM +0800, Yi Wang wrote:
> sched_info_on() is called with unlikely hint, however, the test
> is to be a constant(1) on which compiler will do nothing when
> make defconfig, so remove the hint.
> Also, fix a lack of {}.
> Signed-off-by: Yi Wang <wang.yi59@xxxxxxxxxx>