Commit d8644b32 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] md: remove unneeded ifdef/endif

From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

This #ifdef/#endif is not necessary.
parent 2d66d5a7
...@@ -3576,9 +3576,7 @@ static __exit void md_exit(void) ...@@ -3576,9 +3576,7 @@ static __exit void md_exit(void)
unregister_blkdev(MAJOR_NR,"md"); unregister_blkdev(MAJOR_NR,"md");
unregister_reboot_notifier(&md_notifier); unregister_reboot_notifier(&md_notifier);
unregister_sysctl_table(raid_table_header); unregister_sysctl_table(raid_table_header);
#ifdef CONFIG_PROC_FS
remove_proc_entry("mdstat", NULL); remove_proc_entry("mdstat", NULL);
#endif
ITERATE_MDDEV(mddev,tmp) { ITERATE_MDDEV(mddev,tmp) {
struct gendisk *disk = mddev->gendisk; struct gendisk *disk = mddev->gendisk;
if (!disk) if (!disk)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment