[PATCH] devfs: Remove devfs_mk_dir() function from the kernel tree
Removes the devfs_mk_dir() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -782,7 +782,6 @@ static int __init ppdev_init (void)
|
||||
err = PTR_ERR(ppdev_class);
|
||||
goto out_chrdev;
|
||||
}
|
||||
devfs_mk_dir("parports");
|
||||
for (i = 0; i < PARPORT_MAX; i++) {
|
||||
devfs_mk_cdev(MKDEV(PP_MAJOR, i),
|
||||
S_IFCHR | S_IRUGO | S_IWUGO, "parports/%d", i);
|
||||
|
Reference in New Issue
Block a user