mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04: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 <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
parent
3692293163
commit
6c4128f658
5 changed files with 7 additions and 37 deletions
|
|
@ -2549,15 +2549,7 @@ struct nl_seq_iter {
|
|||
|
||||
static int netlink_walk_start(struct nl_seq_iter *iter)
|
||||
{
|
||||
int err;
|
||||
|
||||
err = rhashtable_walk_init(&nl_table[iter->link].hash, &iter->hti,
|
||||
GFP_KERNEL);
|
||||
if (err) {
|
||||
iter->link = MAX_LINKS;
|
||||
return err;
|
||||
}
|
||||
|
||||
rhashtable_walk_enter(&nl_table[iter->link].hash, &iter->hti);
|
||||
rhashtable_walk_start(&iter->hti);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue