diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2017-11-28 16:01:24 +0100 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2018-02-06 22:40:32 +0100 |
commit | 322d884ba731e05ca79ae58e9dee1ef7dc4de504 (patch) | |
tree | 23646b0840d74b695f8e0b44f176283830c2cf8f /net/sched/cls_flower.c | |
parent | idr: Delete idr_replace_ext function (diff) | |
download | linux-322d884ba731e05ca79ae58e9dee1ef7dc4de504.tar.xz linux-322d884ba731e05ca79ae58e9dee1ef7dc4de504.zip |
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/cls_flower.c')
-rw-r--r-- | net/sched/cls_flower.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_flower.c b/net/sched/cls_flower.c index 0d1b0c11de34..2162e1c1f382 100644 --- a/net/sched/cls_flower.c +++ b/net/sched/cls_flower.c @@ -334,7 +334,7 @@ static void *fl_get(struct tcf_proto *tp, u32 handle) { struct cls_fl_head *head = rtnl_dereference(tp->root); - return idr_find_ext(&head->handle_idr, handle); + return idr_find(&head->handle_idr, handle); } static const struct nla_policy fl_policy[TCA_FLOWER_MAX + 1] = { |