Commit c229d579 authored by Uladzislau Rezki (Sony)'s avatar Uladzislau Rezki (Sony) Committed by Frederic Weisbecker
Browse files

rcuscale: Remove redundant WARN_ON_ONCE() splat



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: default avatarPaul E. McKenney <paulmck@kernel.org>
Reviewed-by: default avatarNeeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: default avatarUladzislau Rezki (Sony) <urezki@gmail.com>
Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
parent 812a1c3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment