diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2017-11-28 10:01:24 -0500 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2018-02-06 16:40:32 -0500 |
commit | 322d884ba731e05ca79ae58e9dee1ef7dc4de504 (patch) | |
tree | 23646b0840d74b695f8e0b44f176283830c2cf8f /net/sched/act_api.c | |
parent | 234a4624efe5629a777b4c00dbdf41dd8b7332db (diff) | |
download | linux-322d884ba731e05ca79ae58e9dee1ef7dc4de504.tar.bz2 |
idr: Delete idr_find_ext function
Simply changing idr_remove's 'id' argument to 'unsigned long' works
for all callers.
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Diffstat (limited to 'net/sched/act_api.c')
-rw-r--r-- | net/sched/act_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 1572466be031..89e9189ab35c 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -222,7 +222,7 @@ static struct tc_action *tcf_idr_lookup(u32 index, struct tcf_idrinfo *idrinfo) struct tc_action *p = NULL; spin_lock_bh(&idrinfo->lock); - p = idr_find_ext(&idrinfo->action_idr, index); + p = idr_find(&idrinfo->action_idr, index); spin_unlock_bh(&idrinfo->lock); return p; |