[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
[firefly-linux-kernel-4.4.55.git] / arch / sparc64 / solaris / socksys.c
index fc6669e8dde189640a053c40f629e63720795d9c..30ba11682cae55c433d606dbe86622807b25ebb7 100644 (file)
@@ -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;