]> git.baikalelectronics.ru Git - kernel.git/commit
rcutorture: Remove redundant RTWS_DEF_FREE check
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 2 Aug 2022 17:22:12 +0000 (10:22 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Aug 2022 12:08:07 +0000 (05:08 -0700)
commitce7431c7903911f0f3dfb765ebb9a90c089ca20c
tree77feca840c5efb8db75fb037c80b97bc51ff0e55
parentb3317a9efb214e8b78d724bb3f268ea85b2e86c9
rcutorture: Remove redundant RTWS_DEF_FREE check

This check does nothing because the state at this point in the code
because the rcu_torture_writer_state value is guaranteed to instead
be RTWS_REPLACE.  This commit therefore removes this check.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c