Andreea-Cristina Bernat ad053a962f mac80211: scan: Replace rcu_assign_pointer() with RCU_INIT_POINTER()
The use of "rcu_assign_pointer()" is NULLing out the pointer.
According to RCU_INIT_POINTER()'s block comment:
"1.   This use of RCU_INIT_POINTER() is NULLing out the pointer"
it is better to use it instead of rcu_assign_pointer() because it has a
smaller overhead.

The following Coccinelle semantic patch was used:
@@
@@

- rcu_assign_pointer
+ RCU_INIT_POINTER
  (..., NULL)

Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-08-26 11:16:31 +02:00
..
2013-12-18 10:33:06 +01:00
2013-12-18 10:33:06 +01:00
2014-04-09 10:55:30 +02:00
2014-04-09 14:49:43 +02:00
2014-06-25 09:10:43 +02:00
2014-07-21 12:14:04 +02:00
2014-06-23 11:05:23 +02:00
2013-12-16 11:29:48 +01:00
2014-04-29 17:59:27 +02:00
2014-04-29 17:59:27 +02:00
2014-04-09 14:49:43 +02:00
2014-06-23 11:05:23 +02:00
2013-12-18 10:33:06 +01:00
2012-06-24 11:33:18 +02:00
2014-08-26 11:16:00 +02:00
2014-07-21 12:14:04 +02:00
2014-06-23 11:05:31 +02:00
2012-03-13 14:54:16 -04:00
2012-06-20 17:35:22 +02:00