diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2017-11-28 09:48:43 -0500 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2018-02-06 16:40:31 -0500 |
commit | 9c160941403ba833c8e67981806ccae73ff7aca7 (patch) | |
tree | 0c84ab081d997296163970f22097a981c6a3ca37 /net/sched/act_api.c | |
parent | 6e6d301490936789ff57daaaaf63f44d928a4028 (diff) | |
download | op-kernel-dev-9c160941403ba833c8e67981806ccae73ff7aca7.zip op-kernel-dev-9c160941403ba833c8e67981806ccae73ff7aca7.tar.gz |
idr: Delete idr_remove_ext function
Simply changing idr_remove's 'id' argument to 'unsigned long' suffices
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 52622a3..be5b2b4 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -78,7 +78,7 @@ static void free_tcf(struct tc_action *p) static void tcf_idr_remove(struct tcf_idrinfo *idrinfo, struct tc_action *p) { spin_lock_bh(&idrinfo->lock); - idr_remove_ext(&idrinfo->action_idr, p->tcfa_index); + idr_remove(&idrinfo->action_idr, p->tcfa_index); spin_unlock_bh(&idrinfo->lock); gen_kill_estimator(&p->tcfa_rate_est); free_tcf(p); |