aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ftape/zftape/zftape-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ftape/zftape/zftape-init.c')
-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);