diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-07-18 19:54:51 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-09-29 00:38:26 -0400 |
commit | 22507ed9b9d587486fb4681e93a8c58837738a25 (patch) | |
tree | 55038e53e869f1753de448df931255449b2385c8 /include/linux/rcupdate.h | |
parent | 8cd889cbb6dd13b47c2ea448a22c49c270ab94a2 (diff) |
rcu: Remove unused and redundant interfaces
The rcu_dereference_bh_protected() and rcu_dereference_sched_protected()
macros are synonyms for rcu_dereference_protected() and are not used
anywhere in mainline. This commit therefore removes them.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r-- | include/linux/rcupdate.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index dd2bc2c6a285..caf22e84a743 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
@@ -578,26 +578,6 @@ extern int rcu_my_thread_group_empty(void); | |||
578 | #define rcu_dereference_protected(p, c) \ | 578 | #define rcu_dereference_protected(p, c) \ |
579 | __rcu_dereference_protected((p), (c), __rcu) | 579 | __rcu_dereference_protected((p), (c), __rcu) |
580 | 580 | ||
581 | /** | ||
582 | * rcu_dereference_bh_protected() - fetch RCU-bh pointer when updates prevented | ||
583 | * @p: The pointer to read, prior to dereferencing | ||
584 | * @c: The conditions under which the dereference will take place | ||
585 | * | ||
586 | * This is the RCU-bh counterpart to rcu_dereference_protected(). | ||
587 | */ | ||
588 | #define rcu_dereference_bh_protected(p, c) \ | ||
589 | __rcu_dereference_protected((p), (c), __rcu) | ||
590 | |||
591 | /** | ||
592 | * rcu_dereference_sched_protected() - fetch RCU-sched pointer when updates prevented | ||
593 | * @p: The pointer to read, prior to dereferencing | ||
594 | * @c: The conditions under which the dereference will take place | ||
595 | * | ||
596 | * This is the RCU-sched counterpart to rcu_dereference_protected(). | ||
597 | */ | ||
598 | #define rcu_dereference_sched_protected(p, c) \ | ||
599 | __rcu_dereference_protected((p), (c), __rcu) | ||
600 | |||
601 | 581 | ||
602 | /** | 582 | /** |
603 | * rcu_dereference() - fetch RCU-protected pointer for dereferencing | 583 | * rcu_dereference() - fetch RCU-protected pointer for dereferencing |