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 <[email protected]>
Cc: Ohad Ben-Cohen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Tejun Heo 2013-02-27 17:03:42 -08:00 • committed by Linus Torvalds
commit 045dc40d9e

View file

@ -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)