projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
045dc40
)
rpmsg: don't use idr_remove_all()
author
Tejun Heo
<tj@kernel.org>
Thu, 28 Feb 2013 01:03:43 +0000
(17:03 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 28 Feb 2013 03:10:13 +0000
(19:10 -0800)
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>
drivers/rpmsg/virtio_rpmsg_bus.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rpmsg/virtio_rpmsg_bus.c
b/drivers/rpmsg/virtio_rpmsg_bus.c
index d85446021ddb36a1ce206fef33a1a81cde0464ab..aaa6840ee05b9d79befe6e379d654fc71c6008f5 100644
(file)
--- a/
drivers/rpmsg/virtio_rpmsg_bus.c
+++ b/
drivers/rpmsg/virtio_rpmsg_bus.c
@@
-1036,7
+1036,6
@@
static void rpmsg_remove(struct virtio_device *vdev)
if (vrp->ns_ept)
__rpmsg_destroy_ept(vrp, vrp->ns_ept);
- idr_remove_all(&vrp->endpoints);
idr_destroy(&vrp->endpoints);
vdev->config->del_vqs(vrp->vdev);