From: Monam Agarwal Date: Sun, 23 Mar 2014 18:35:56 +0000 (+0530) Subject: iwlwifi: mvm: Use RCU_INIT_POINTER(x, NULL) X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~54^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c531c77150693759ca0b886a80973d6ae6a1a0d5;p=pandora-kernel.git iwlwifi: mvm: Use RCU_INIT_POINTER(x, NULL) rcu_assign_pointer() ensures that the initialization of a structure is carried out before storing a pointer to that structure. However, in the case that NULL is assigned there's no structure to initialize so using RCU_INIT_POINTER instead is safe and more efficient. Signed-off-by: Monam Agarwal [rewrite commit log] Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed