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/nbd.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/nbd.c')
-rw-r--r-- | drivers/block/nbd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 618e258ca5d0..c24b349ae57b 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c | |||
@@ -685,7 +685,6 @@ static void __exit nbd_cleanup(void) | |||
685 | put_disk(disk); | 685 | put_disk(disk); |
686 | } | 686 | } |
687 | } | 687 | } |
688 | devfs_remove("nbd"); | ||
689 | unregister_blkdev(NBD_MAJOR, "nbd"); | 688 | unregister_blkdev(NBD_MAJOR, "nbd"); |
690 | printk(KERN_INFO "nbd: unregistered device at major %d\n", NBD_MAJOR); | 689 | printk(KERN_INFO "nbd: unregistered device at major %d\n", NBD_MAJOR); |
691 | } | 690 | } |