]> Git Repo - linux.git/commit
rcuscale: Remove redundant WARN_ON_ONCE() splat
authorUladzislau Rezki (Sony) <[email protected]>
Wed, 13 Nov 2024 11:00:09 +0000 (12:00 +0100)
committerFrederic Weisbecker <[email protected]>
Fri, 15 Nov 2024 21:24:41 +0000 (22:24 +0100)
commitc229d579d047f9c4fb4d6c37d9d04b88a398e461
tree3aa773bf2ec9bc1f114b24c69bfeb0fd78a5ea35
parent812a1c3b9f7c36d9255f0d29d0a3d324e2f52321
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: Paul E. McKenney <[email protected]>
Reviewed-by: Neeraj Upadhyay <[email protected]>
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
kernel/rcu/rcuscale.c
This page took 0.050385 seconds and 4 git commands to generate.