aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ftape
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/char/ftape
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/char/ftape')
-rw-r--r--drivers/char/ftape/zftape/zftape-init.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/char/ftape/zftape/zftape-init.c b/drivers/char/ftape/zftape/zftape-init.c
index 8c6090c3a421..e09ad2b100b5 100644
--- a/drivers/char/ftape/zftape/zftape-init.c
+++ b/drivers/char/ftape/zftape/zftape-init.c
@@ -362,17 +362,11 @@ static void zft_exit(void)
362 TRACE(ft_t_info, "successful"); 362 TRACE(ft_t_info, "successful");
363 } 363 }
364 for (i = 0; i < 4; i++) { 364 for (i = 0; i < 4; i++) {
365 devfs_remove("qft%i", i);
366 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i)); 365 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i));
367 devfs_remove("nqft%i", i);
368 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i + 4)); 366 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i + 4));
369 devfs_remove("zqft%i", i);
370 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i + 16)); 367 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i + 16));
371 devfs_remove("nzqft%i", i);
372 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i + 20)); 368 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i + 20));
373 devfs_remove("rawqft%i", i);
374 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i + 32)); 369 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i + 32));
375 devfs_remove("nrawqft%i", i);
376 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i + 36)); 370 class_device_destroy(zft_class, MKDEV(QIC117_TAPE_MAJOR, i + 36));
377 } 371 }
378 class_destroy(zft_class); 372 class_destroy(zft_class);