diff options
Diffstat (limited to 'drivers/char/tipar.c')
-rw-r--r-- | drivers/char/tipar.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/tipar.c b/drivers/char/tipar.c index 0dc83a5bd4c1..48476f8fcda7 100644 --- a/drivers/char/tipar.c +++ b/drivers/char/tipar.c | |||
@@ -515,7 +515,6 @@ out_class: | |||
515 | class_destroy(tipar_class); | 515 | class_destroy(tipar_class); |
516 | 516 | ||
517 | out_chrdev: | 517 | out_chrdev: |
518 | devfs_remove("ticables/par"); | ||
519 | unregister_chrdev(TIPAR_MAJOR, "tipar"); | 518 | unregister_chrdev(TIPAR_MAJOR, "tipar"); |
520 | out: | 519 | out: |
521 | return err; | 520 | return err; |
@@ -536,10 +535,8 @@ tipar_cleanup_module(void) | |||
536 | continue; | 535 | continue; |
537 | parport_unregister_device(table[i].dev); | 536 | parport_unregister_device(table[i].dev); |
538 | class_device_destroy(tipar_class, MKDEV(TIPAR_MAJOR, i)); | 537 | class_device_destroy(tipar_class, MKDEV(TIPAR_MAJOR, i)); |
539 | devfs_remove("ticables/par/%d", i); | ||
540 | } | 538 | } |
541 | class_destroy(tipar_class); | 539 | class_destroy(tipar_class); |
542 | devfs_remove("ticables/par"); | ||
543 | 540 | ||
544 | pr_info("tipar: module unloaded\n"); | 541 | pr_info("tipar: module unloaded\n"); |
545 | } | 542 | } |