locktorture: Consolidate "if" statements in lock_torture_writer()
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 2 Aug 2023 22:42:03 +0000 (15:42 -0700)
committerFrederic Weisbecker <frederic@kernel.org>
Sun, 24 Sep 2023 15:24:01 +0000 (17:24 +0200)
commit84cee9e72e15b65921f05d41788d66a79c1baa25
tree7da606679ae9204f3bd253870a3c50a1c1c7a3cb
parent31742a56c676b6014fde99a0cf07d3d12b822e9a
locktorture: Consolidate "if" statements in lock_torture_writer()

There is a pair of adjacent "if" statements with identical conditions in
the lock_torture_writer() function.  This commit therefore combines them.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
kernel/locking/locktorture.c