diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-14 17:03:27 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-02-22 15:49:00 +0300 |
commit | 6c4128f658571b2dc7e01058ad09a8e947bc0159 (patch) | |
tree | 9f1bd71756ca9ea29e31babf0039817a9567eafe /include/linux/rhashtable.h | |
parent | 3692293163b8ba1f28bad0e4a7ddf4fa0a7fd34d (diff) | |
download | linux-6c4128f658571b2dc7e01058ad09a8e947bc0159.tar.xz |
rhashtable: Remove obsolete rhashtable_walk_init function
The rhashtable_walk_init function has been obsolete for more than
two years. This patch finally converts its last users over to
rhashtable_walk_enter and removes it.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/rhashtable.h')
-rw-r--r-- | include/linux/rhashtable.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/rhashtable.h b/include/linux/rhashtable.h index 20f9c6af7473..ae9c0f71f311 100644 --- a/include/linux/rhashtable.h +++ b/include/linux/rhashtable.h @@ -1113,14 +1113,6 @@ static inline int rhashtable_replace_fast( return err; } -/* Obsolete function, do not use in new code. */ -static inline int rhashtable_walk_init(struct rhashtable *ht, - struct rhashtable_iter *iter, gfp_t gfp) -{ - rhashtable_walk_enter(ht, iter); - return 0; -} - /** * rhltable_walk_enter - Initialise an iterator * @hlt: Table to walk over |