aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/loop.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:07 -0400
commit8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch)
treeb851d4c1fdbd396379279e4475f7f778a667a208 /drivers/block/loop.c
parent7c69ef79741910883d5543caafa06aca3ebadbd1 (diff)
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
Removes the devfs_remove() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/loop.c')
-rw-r--r--drivers/block/loop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index f650d20f2a1..0319b096b55 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -1308,7 +1308,6 @@ static int __init loop_init(void)
1308out_mem4: 1308out_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;
1313out_mem3: 1312out_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