[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:
Greg Kroah-Hartman
2005-06-20 21:15:16 -07:00
parent 0e6c62da7c
commit 95dc112a57
33 changed files with 1 additions and 55 deletions

View File

@ -68,7 +68,6 @@ static int dm_hash_init(void)
{
init_buckets(_name_buckets);
init_buckets(_uuid_buckets);
devfs_mk_dir(DM_DIR);
return 0;
}

View File

@ -5553,7 +5553,6 @@ static int __init md_init(void)
unregister_blkdev(MAJOR_NR, "md");
return -1;
}
devfs_mk_dir("md");
blk_register_region(MKDEV(MAJOR_NR, 0), MAX_MD_DEVS, THIS_MODULE,
md_probe, NULL, NULL);
blk_register_region(MKDEV(mdp_major, 0), MAX_MD_DEVS<<MdpMinorShift, THIS_MODULE,