diff options
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 87620b705bee..6fe4a769c854 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -5947,13 +5947,9 @@ static struct notifier_block md_notifier = { | |||
5947 | 5947 | ||
5948 | static void md_geninit(void) | 5948 | static void md_geninit(void) |
5949 | { | 5949 | { |
5950 | struct proc_dir_entry *p; | ||
5951 | |||
5952 | dprintk("md: sizeof(mdp_super_t) = %d\n", (int)sizeof(mdp_super_t)); | 5950 | dprintk("md: sizeof(mdp_super_t) = %d\n", (int)sizeof(mdp_super_t)); |
5953 | 5951 | ||
5954 | p = create_proc_entry("mdstat", S_IRUGO, NULL); | 5952 | proc_create("mdstat", S_IRUGO, NULL, &md_seq_fops); |
5955 | if (p) | ||
5956 | p->proc_fops = &md_seq_fops; | ||
5957 | } | 5953 | } |
5958 | 5954 | ||
5959 | static int __init md_init(void) | 5955 | static int __init md_init(void) |