aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ppdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ppdev.c')
-rw-r--r--drivers/char/ppdev.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c
index d437a4c9e634..ba350799405c 100644
--- a/drivers/char/ppdev.c
+++ b/drivers/char/ppdev.c
@@ -782,10 +782,6 @@ static int __init ppdev_init (void)
782 err = PTR_ERR(ppdev_class); 782 err = PTR_ERR(ppdev_class);
783 goto out_chrdev; 783 goto out_chrdev;
784 } 784 }
785 for (i = 0; i < PARPORT_MAX; i++) {
786 devfs_mk_cdev(MKDEV(PP_MAJOR, i),
787 S_IFCHR | S_IRUGO | S_IWUGO, "parports/%d", i);
788 }
789 if (parport_register_driver(&pp_driver)) { 785 if (parport_register_driver(&pp_driver)) {
790 printk (KERN_WARNING CHRDEV ": unable to register with parport\n"); 786 printk (KERN_WARNING CHRDEV ": unable to register with parport\n");
791 goto out_class; 787 goto out_class;