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-rc1~46^2~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=045dc40d9ef0ed432121aea8b7c07cb23cb820f4;p=thirdparty%2Fkernel%2Flinux.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 dd3bfaf1ad407..634d36793b721 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)