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

From: Neeraj Upadhyay
Date: Wed Nov 13 2024 - 12:01:09 EST




On 11/13/2024 4:30 PM, 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.
>
> Reviewed-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
> Signed-off-by: Uladzislau Rezki (Sony) <urezki@xxxxxxxxx>
> ---


Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@xxxxxxx>


- Neeraj