Re: [PATCH 01/10] locking/rtmutex: Remove Comparison to bool

From: Thomas Gleixner
Date: Sat Mar 28 2020 - 07:28:44 EST


Jules Irenge <jbi.octave@xxxxxxxxx> writes:

> From: Jules Irenge <jbi.octave@xxxxxxxxxxx>
>
> Coccinelle reports a warning inside rt_mutex_slowunlock()
>
> WARNING: Comparison to bool
>
> To fix this, the comparison to bool is removed
> This not only fixes the issue but also removes the unnecessary comparison.
>
> Remove comparison to bool

So you explain 3 times in different ways that the comparison to bool is
removed. What's the point?

Thanks,

tglx