aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2017-11-27 09:23:24 -0800
committerPaul E. McKenney <[email protected]>2017-12-05 11:57:54 -0800
commit632a5c1c8fd281b82b1d70bdb1d692cba3b9ffd3 (patch)
tree347a26127b612a7f0371b980c4ac1a2da4fafef2
parent9ad3c143d7d6942c66f27bc6c18f5df638f70aff (diff)
genetlink: Remove smp_read_barrier_depends() from comment
Now that smp_read_barrier_depends() has been de-emphasized, the less said about it, the better. Signed-off-by: Paul E. McKenney <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: Greg Kroah-Hartman <[email protected]>
-rw-r--r--include/linux/genetlink.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/genetlink.h b/include/linux/genetlink.h
index ecc2928e8046..bc738504ab4a 100644
--- a/include/linux/genetlink.h
+++ b/include/linux/genetlink.h
@@ -31,8 +31,7 @@ extern wait_queue_head_t genl_sk_destructing_waitq;
* @p: The pointer to read, prior to dereferencing
*
* Return the value of the specified RCU-protected pointer, but omit
- * both the smp_read_barrier_depends() and the READ_ONCE(), because
- * caller holds genl mutex.
+ * the READ_ONCE(), because caller holds genl mutex.
*/
#define genl_dereference(p) \
rcu_dereference_protected(p, lockdep_genl_is_held())