aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/paride/pt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/paride/pt.c')
-rw-r--r--drivers/block/paride/pt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/paride/pt.c b/drivers/block/paride/pt.c
index c85bdcb384ae..ea12073c5fb1 100644
--- a/drivers/block/paride/pt.c
+++ b/drivers/block/paride/pt.c
@@ -992,12 +992,9 @@ static void __exit pt_exit(void)
992 for (unit = 0; unit < PT_UNITS; unit++) 992 for (unit = 0; unit < PT_UNITS; unit++)
993 if (pt[unit].present) { 993 if (pt[unit].present) {
994 class_device_destroy(pt_class, MKDEV(major, unit)); 994 class_device_destroy(pt_class, MKDEV(major, unit));
995 devfs_remove("pt/%d", unit);
996 class_device_destroy(pt_class, MKDEV(major, unit + 128)); 995 class_device_destroy(pt_class, MKDEV(major, unit + 128));
997 devfs_remove("pt/%dn", unit);
998 } 996 }
999 class_destroy(pt_class); 997 class_destroy(pt_class);
1000 devfs_remove("pt");
1001 unregister_chrdev(major, name); 998 unregister_chrdev(major, name);
1002 for (unit = 0; unit < PT_UNITS; unit++) 999 for (unit = 0; unit < PT_UNITS; unit++)
1003 if (pt[unit].present) 1000 if (pt[unit].present)