aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 33b1a8943e4a..ee7320b4a30e 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -5538,8 +5538,6 @@ static void md_geninit(void)
5538 5538
5539static int __init md_init(void) 5539static int __init md_init(void)
5540{ 5540{
5541 int minor;
5542
5543 printk(KERN_INFO "md: md driver %d.%d.%d MAX_MD_DEVS=%d," 5541 printk(KERN_INFO "md: md driver %d.%d.%d MAX_MD_DEVS=%d,"
5544 " MD_SB_DISKS=%d\n", 5542 " MD_SB_DISKS=%d\n",
5545 MD_MAJOR_VERSION, MD_MINOR_VERSION, 5543 MD_MAJOR_VERSION, MD_MINOR_VERSION,
@@ -5558,17 +5556,6 @@ static int __init md_init(void)
5558 blk_register_region(MKDEV(mdp_major, 0), MAX_MD_DEVS<<MdpMinorShift, THIS_MODULE, 5556 blk_register_region(MKDEV(mdp_major, 0), MAX_MD_DEVS<<MdpMinorShift, THIS_MODULE,
5559 md_probe, NULL, NULL); 5557 md_probe, NULL, NULL);
5560 5558
5561 for (minor=0; minor < MAX_MD_DEVS; ++minor)
5562 devfs_mk_bdev(MKDEV(MAJOR_NR, minor),
5563 S_IFBLK|S_IRUSR|S_IWUSR,
5564 "md/%d", minor);
5565
5566 for (minor=0; minor < MAX_MD_DEVS; ++minor)
5567 devfs_mk_bdev(MKDEV(mdp_major, minor<<MdpMinorShift),
5568 S_IFBLK|S_IRUSR|S_IWUSR,
5569 "md/mdp%d", minor);
5570
5571
5572 register_reboot_notifier(&md_notifier); 5559 register_reboot_notifier(&md_notifier);
5573 raid_table_header = register_sysctl_table(raid_root_table, 1); 5560 raid_table_header = register_sysctl_table(raid_root_table, 1);
5574 5561