diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 15:25:07 -0400 |
commit | 8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch) | |
tree | b851d4c1fdbd396379279e4475f7f778a667a208 /drivers/block/loop.c | |
parent | 7c69ef79741910883d5543caafa06aca3ebadbd1 (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.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 | ||