summaryrefslogtreecommitdiff
path: root/include/linux/key.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-05-17 02:42:30 +0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-07-02 23:34:23 +0400
commitd1b88eb9e3bccaa43fb5d1bde1cbe210b3434731 (patch)
tree0cb3f4f8b8b9234c306a738d41233db9d8ee709c /include/linux/key.h
parentd36cc701b28983ea2c8d80afe68aae5452aea3bf (diff)
downloadlinux-d1b88eb9e3bccaa43fb5d1bde1cbe210b3434731.tar.xz
rcu: Remove return value from RCU_INIT_POINTER()
The return value from RCU_INIT_POINTER() is not used, and using it would be quite ugly, for example: q = RCU_INIT_POINTER(global_p, p); To prevent this sort of ugliness from appearing, this commit wraps RCU_INIT_POINTER() in a do-while loop. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Acked-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include/linux/key.h')
0 files changed, 0 insertions, 0 deletions