|
[Kernel-janitors] [PATCH] removes a not necessary #ifdef/#endif in drivers/: msg#00011linux.kernel.janitors
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> |
|---|---|---|
| Previous by Date: | [Kernel-janitors] [PATCH] fix drivers/md/md.c warning when !CONFIG_PROC_FS.: 00011, Luiz Capitulino |
|---|---|
| Next by Date: | In the News 2002: 00011, Patty Chang |
| Previous by Thread: | [Kernel-janitors] [PATCH] fix drivers/md/md.c warning when !CONFIG_PROC_FS.i: 00011, Luiz Capitulino |
| Next by Thread: | In the News 2002: 00011, Patty Chang |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |