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

From: Jules Irenge
Date: Sat Mar 28 2020 - 08:02:29 EST




On Sat, 28 Mar 2020, Thomas Gleixner wrote:

> 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
>
>
>
Thanks for the feedback I take good note. I will improve next time.