From: Paul E. McKenney Date: Mon, 9 Dec 2013 23:19:53 +0000 (-0800) Subject: bonding: Use RCU_INIT_POINTER() for better overhead and for sparse X-Git-Tag: v3.14-rc1~174^2^2^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36708b89e00951b004b4dd6c14181301e2e98354;p=pandora-kernel.git bonding: Use RCU_INIT_POINTER() for better overhead and for sparse Although rcu_assign_pointer() can be used to assign a constant NULL pointer, doing so gets you an unnecessary memory barrier and in some circumstances, sparse warnings. This commit therefore changes the rcu_assign_pointer() of NULL in __bond_release_one() to RCU_INIT_POINTER(). Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett --- Reading git-diff-tree failed