key: Remove extraneous parentheses from rcu_assign_keypointer()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 16 May 2012 23:31:38 +0000 (16:31 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 2 Jul 2012 19:34:23 +0000 (12:34 -0700)
commite5c1f444d28b1a9eaf9c3927041db0414f684ef4
tree2651cd625602d38b19301cc35e276f7e6502a2e6
parentd1b88eb9e3bccaa43fb5d1bde1cbe210b3434731
key: Remove extraneous parentheses from rcu_assign_keypointer()

This commit removes the extraneous parentheses from rcu_assign_keypointer()
so that rcu_assign_pointer() can be wrapped in do-while.  It also wraps
rcu_assign_keypointer() in a do-while and parenthesizes its final argument,
as suggested by David Howells.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
include/linux/key.h