diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-ioctl.c | 1 | ||||
-rw-r--r-- | drivers/md/md.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index 3edb3477f987..181971a978ba 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c | |||
@@ -68,7 +68,6 @@ static int dm_hash_init(void) | |||
68 | { | 68 | { |
69 | init_buckets(_name_buckets); | 69 | init_buckets(_name_buckets); |
70 | init_buckets(_uuid_buckets); | 70 | init_buckets(_uuid_buckets); |
71 | devfs_mk_dir(DM_DIR); | ||
72 | return 0; | 71 | return 0; |
73 | } | 72 | } |
74 | 73 | ||
diff --git a/drivers/md/md.c b/drivers/md/md.c index 306268ec99ff..33b1a8943e4a 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -5553,7 +5553,6 @@ static int __init md_init(void) | |||
5553 | unregister_blkdev(MAJOR_NR, "md"); | 5553 | unregister_blkdev(MAJOR_NR, "md"); |
5554 | return -1; | 5554 | return -1; |
5555 | } | 5555 | } |
5556 | devfs_mk_dir("md"); | ||
5557 | blk_register_region(MKDEV(MAJOR_NR, 0), MAX_MD_DEVS, THIS_MODULE, | 5556 | blk_register_region(MKDEV(MAJOR_NR, 0), MAX_MD_DEVS, THIS_MODULE, |
5558 | md_probe, NULL, NULL); | 5557 | md_probe, NULL, NULL); |
5559 | blk_register_region(MKDEV(mdp_major, 0), MAX_MD_DEVS<<MdpMinorShift, THIS_MODULE, | 5558 | blk_register_region(MKDEV(mdp_major, 0), MAX_MD_DEVS<<MdpMinorShift, THIS_MODULE, |