[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
Removes the devfs_mk_cdev() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -190,8 +190,6 @@ init_socksys(void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
devfs_mk_cdev(MKDEV(30, 0), S_IFCHR|S_IRUSR|S_IWUSR, "socksys");
|
||||
|
||||
file = fcheck(ret);
|
||||
/* N.B. Is this valid? Suppose the f_ops are in a module ... */
|
||||
socksys_file_ops = *file->f_op;
|
||||
|
Reference in New Issue
Block a user