mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Johannes Berg
parent
3692293163
commit
6c4128f658
@@ -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
|
||||
|
Reference in New Issue
Block a user