rcutorture: Remove redundant assignment to cur_ops in for loop
commitade5fb818fb1861fd5f84619c761920ade762b5d
authorJosh Triplett <josh@kernel.org>
Tue, 8 May 2007 07:33:22 +0000 (8 00:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:17 +0000 (8 11:15 -0700)
treee82613433ced07fea20f974586919b11864e2bbc
parentc8e5b163101c5d716f08e90b686da620baa022f1
rcutorture: Remove redundant assignment to cur_ops in for loop

The for loop in rcutorture_init uses the condition
cur_ops = torture_ops[i], cur_ops
but then makes the same assignment to cur_ops inside the loop.  Remove the
redundant assignment inside the loop, and remove now-unnecessary braces.

Signed-off-by: Josh Triplett <josh@kernel.org>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/rcutorture.c