rcutorture: Small code cleanups
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 23 Sep 2020 23:46:36 +0000 (16:46 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Sat, 7 Nov 2020 01:13:55 +0000 (17:13 -0800)
commit293b93d66f149a9bd124aae195f048268e11870c
treeafe49564cd3cf1357745314c5730b2477b487289
parent7de1ca35269ee20e40c35666c810cbaea528c719
rcutorture: Small code cleanups

The rcu_torture_cleanup() function fails to NULL out the reader_tasks
pointer after freeing it and its fakewriter_tasks loop has redundant
braces.  This commit therefore cleans these up.

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