aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-02-27 20:03:42 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-27 22:10:13 -0500
commit045dc40d9ef0ed432121aea8b7c07cb23cb820f4 (patch)
tree957cd2d30c738cb05ec58e038f2de201daa16283 /drivers/remoteproc
parentadaedbd9fe5c07e7fbd5854c0cfe5ce1dac7d9bd (diff)
remoteproc: don't use idr_remove_all()
idr_destroy() can destroy idr by itself and idr_remove_all() is being deprecated. Drop its usage. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r--drivers/remoteproc/remoteproc_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c
index dd3bfaf1ad40..634d36793b72 100644
--- a/drivers/remoteproc/remoteproc_core.c
+++ b/drivers/remoteproc/remoteproc_core.c
@@ -1180,7 +1180,6 @@ static void rproc_type_release(struct device *dev)
1180 1180
1181 rproc_delete_debug_dir(rproc); 1181 rproc_delete_debug_dir(rproc);
1182 1182
1183 idr_remove_all(&rproc->notifyids);
1184 idr_destroy(&rproc->notifyids); 1183 idr_destroy(&rproc->notifyids);
1185 1184
1186 if (rproc->index >= 0) 1185 if (rproc->index >= 0)