summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2014-08-13 18:38:30 +0400
committerDavid S. Miller <davem@davemloft.net>2014-08-15 02:13:39 +0400
commitc91eee56dc4f8c3d9ae834bacb835596d47a709e (patch)
treef4bdff8e42f8df9aa30cb8d058a172c33823516c /include/linux
parent5300fdcb7b7e97d83033bc7196582705524d35ea (diff)
downloadlinux-c91eee56dc4f8c3d9ae834bacb835596d47a709e.tar.xz
rhashtable: unexport and make rht_obj() static
No need to export rht_obj(), all inner to outer object translations occur internally. It was intended to be used with rht_for_each() which now primarily serves as the iterator for rhashtable_remove_pprev() to effectively flush and free the full table. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/rhashtable.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rhashtable.h b/include/linux/rhashtable.h
index 8c6048e77f29..af967c4c7591 100644
--- a/include/linux/rhashtable.h
+++ b/include/linux/rhashtable.h
@@ -117,7 +117,6 @@ void rhashtable_destroy(const struct rhashtable *ht);
#define rht_dereference_rcu(p, ht) \
rcu_dereference_check(p, lockdep_rht_mutex_is_held(ht))
-/* Internal, use rht_obj() instead */
#define rht_entry(ptr, type, member) container_of(ptr, type, member)
#define rht_entry_safe(ptr, type, member) \
({ \