From: Tejun Heo Date: Thu, 28 Feb 2013 01:03:42 +0000 (-0800) Subject: remoteproc: don't use idr_remove_all() X-Git-Tag: v3.9~314^2~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=045dc40d9ef0ed432121aea8b7c07cb23cb820f4;p=platform%2Fkernel%2Flinux-amlogic.git 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 Cc: Ohad Ben-Cohen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index dd3bfaf..634d367 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) rproc_delete_debug_dir(rproc); - idr_remove_all(&rproc->notifyids); idr_destroy(&rproc->notifyids); if (rproc->index >= 0)