Re: [PATCH 2/2] rcuscale: Remove redundant WARN_ON_ONCE() splat

From: Frederic Weisbecker
Date: Mon Oct 28 2024 - 12:07:54 EST


Le Thu, Oct 24, 2024 at 01:28:24PM -0700, Paul E. McKenney a écrit :
> On Thu, Oct 24, 2024 at 06:45:58PM +0200, Uladzislau Rezki (Sony) wrote:
> > There are two places where WARN_ON_ONCE() is called two times
> > in the error paths. One which is encapsulated into if() condition
> > and another one, which is unnecessary, is placed in the brackets.
> >
> > Remove an extra WARN_ON_ONCE() splat which is in brackets.
> >
> > Signed-off-by: Uladzislau Rezki (Sony) <urezki@xxxxxxxxx>
>
> For both:
>
> Reviewed-by: Paul E. McKenney <paulmck@xxxxxxxxxx>

Both applied!

Thanks.