diff options
Diffstat (limited to 'drivers/block/loop.c')
-rw-r--r-- | drivers/block/loop.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index f650d20f2a17..0319b096b556 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c | |||
@@ -1308,7 +1308,6 @@ static int __init loop_init(void) | |||
1308 | out_mem4: | 1308 | out_mem4: |
1309 | while (i--) | 1309 | while (i--) |
1310 | blk_cleanup_queue(loop_dev[i].lo_queue); | 1310 | blk_cleanup_queue(loop_dev[i].lo_queue); |
1311 | devfs_remove("loop"); | ||
1312 | i = max_loop; | 1311 | i = max_loop; |
1313 | out_mem3: | 1312 | out_mem3: |
1314 | while (i--) | 1313 | while (i--) |
@@ -1331,7 +1330,6 @@ static void loop_exit(void) | |||
1331 | blk_cleanup_queue(loop_dev[i].lo_queue); | 1330 | blk_cleanup_queue(loop_dev[i].lo_queue); |
1332 | put_disk(disks[i]); | 1331 | put_disk(disks[i]); |
1333 | } | 1332 | } |
1334 | devfs_remove("loop"); | ||
1335 | if (unregister_blkdev(LOOP_MAJOR, "loop")) | 1333 | if (unregister_blkdev(LOOP_MAJOR, "loop")) |
1336 | printk(KERN_WARNING "loop: cannot unregister blkdev\n"); | 1334 | printk(KERN_WARNING "loop: cannot unregister blkdev\n"); |
1337 | 1335 | ||