summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/solaris/socksys.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2005-06-21 06:15:16 +0200
committerGreg Kroah-Hartman2006-06-26 21:25:07 +0200
commit7c69ef79741910883d5543caafa06aca3ebadbd1 (patch)
tree655d3f60abee0195d0aadb2c86ab04ccca89a307 /arch/sparc64/solaris/socksys.c
parent[PATCH] devfs: Remove devfs_mk_bdev() function from the kernel tree (diff)
downloadkernel-qcow2-linux-7c69ef79741910883d5543caafa06aca3ebadbd1.tar.gz
kernel-qcow2-linux-7c69ef79741910883d5543caafa06aca3ebadbd1.tar.xz
kernel-qcow2-linux-7c69ef79741910883d5543caafa06aca3ebadbd1.zip
[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>
Diffstat (limited to 'arch/sparc64/solaris/socksys.c')
-rw-r--r--arch/sparc64/solaris/socksys.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc64/solaris/socksys.c b/arch/sparc64/solaris/socksys.c
index fc6669e8dde1..30ba11682cae 100644
--- a/arch/sparc64/solaris/socksys.c
+++ b/arch/sparc64/solaris/socksys.c
@@ -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;