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/char/viotape.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/char/viotape.c')
-rw-r--r-- | drivers/char/viotape.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index 4c1a128fd77b..b101134a8443 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c | |||
@@ -970,8 +970,6 @@ static int viotape_remove(struct vio_dev *vdev) | |||
970 | { | 970 | { |
971 | int i = vdev->unit_address; | 971 | int i = vdev->unit_address; |
972 | 972 | ||
973 | devfs_remove("iseries/nvt%d", i); | ||
974 | devfs_remove("iseries/vt%d", i); | ||
975 | class_device_destroy(tape_class, MKDEV(VIOTAPE_MAJOR, i | 0x80)); | 973 | class_device_destroy(tape_class, MKDEV(VIOTAPE_MAJOR, i | 0x80)); |
976 | class_device_destroy(tape_class, MKDEV(VIOTAPE_MAJOR, i)); | 974 | class_device_destroy(tape_class, MKDEV(VIOTAPE_MAJOR, i)); |
977 | return 0; | 975 | return 0; |