|
@@ -1911,7 +1911,6 @@ static void __exit loop_exit(void)
|
|
|
range = max_loop ? max_loop << part_shift : 1UL << MINORBITS;
|
|
|
|
|
|
idr_for_each(&loop_index_idr, &loop_exit_cb, NULL);
|
|
|
- idr_remove_all(&loop_index_idr);
|
|
|
idr_destroy(&loop_index_idr);
|
|
|
|
|
|
blk_unregister_region(MKDEV(LOOP_MAJOR, 0), range);
|