From: Tejun Heo Date: Thu, 28 Feb 2013 01:03:41 +0000 (-0800) Subject: dm: don't use idr_remove_all() X-Git-Tag: upstream/snapshot3+hdmi~5615^2~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=adaedbd9fe5c07e7fbd5854c0cfe5ce1dac7d9bd;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git dm: 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: Alasdair Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 314a0e2..9ffa746 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -318,7 +318,6 @@ static void __exit dm_exit(void) /* * Should be empty by this point. */ - idr_remove_all(&_minor_idr); idr_destroy(&_minor_idr); }