logo       

[Kernel-janitors] [PATCH] removes a not necessary #ifdef/#endif in drivers/: msg#00011

linux.kernel.janitors

Subject: [Kernel-janitors] [PATCH] removes a not necessary #ifdef/#endif in drivers/md/md.c


hi all.

this #ifdef/#endif is not necessary (I know about the blank
lines, I *think* in this case they are ok):

diff -Nru linux-2.6.0-test6-bk8/drivers/md/md.c
linux-2.6.0-test6-bk8~/drivers/md/md.c
--- linux-2.6.0-test6-bk8/drivers/md/md.c 2003-09-27 21:50:14.000000000
-0300
+++ linux-2.6.0-test6-bk8~/drivers/md/md.c 2003-10-06 17:23:46.000000000
-0300
@@ -3576,9 +3576,9 @@
unregister_blkdev(MAJOR_NR,"md");
unregister_reboot_notifier(&md_notifier);
unregister_sysctl_table(raid_table_header);
-#ifdef CONFIG_PROC_FS
+
remove_proc_entry("mdstat", NULL);
-#endif
+
for (i = 0; i < MAX_MD_DEVS; i++) {
struct gendisk *disk = disks[i];
mddev_t *mddev;


--
Luiz Fernando N. Capitulino
<lcapitulino@xxxxxxxxxxxxxxxxxxxx>
<http://www.telecentros.sp.gov.br>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise