[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:
@ -841,7 +841,6 @@ int ubd_init(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
devfs_mk_dir("ubd");
|
||||
if (register_blkdev(MAJOR_NR, "ubd"))
|
||||
return -1;
|
||||
|
||||
@ -855,7 +854,6 @@ int ubd_init(void)
|
||||
char name[sizeof("ubd_nnn\0")];
|
||||
|
||||
snprintf(name, sizeof(name), "ubd_%d", fake_major);
|
||||
devfs_mk_dir(name);
|
||||
if (register_blkdev(fake_major, "ubd"))
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user