From: Paul E. McKenney Date: Wed, 16 May 2012 22:42:30 +0000 (-0700) Subject: rcu: Remove return value from RCU_INIT_POINTER() X-Git-Tag: v3.6-rc1~168^2^2~2^3~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1b88eb9e3bccaa43fb5d1bde1cbe210b3434731;p=pandora-kernel.git 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 Reviewed-by: Josh Triplett Acked-by: David Howells --- Reading git-diff-tree failed