diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 314a0e2faf79d6c097e7c1201bf25af8600baaf6..9ffa7467d270046075d1fe7bb62556e63987d616 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); }