scftorture: Consolidate scftorture_invoke_one() scf_check initialization
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 9 Jul 2020 20:58:32 +0000 (13:58 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 25 Aug 2020 01:38:35 +0000 (18:38 -0700)
commit4df55bddc1a360e94c86e227fe417ac9422cb615
treefa1af555cf130c1e49b1ba9446665444b098d9a3
parent676e5469643e716df7f39ef77ba8f09c85b0c4f8
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: Paul E. McKenney <paulmck@kernel.org>
kernel/scftorture.c