Skip to content
Commit 4df55bdd authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

scftorture: Consolidate scftorture_invoke_one() scf_check initialization



This commit hoists much of the initialization of the scf_check
structure out of the switch statement, thus saving a few lines of code.
The initialization of the ->scfc_in field remains in each leg of the
switch statement in order to more heavily stress memory ordering.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 676e5469
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment