Kill ifdefs in mtdcore.c
PATCH 1/1 Kill ifdefs in mtdcore.c
Kill unneccessary ifdefs in mtdcore.c.
Signed-off-by Pavel Machek <[email protected]>
drivers/mtd/mtdcore.c +0 -6
@@ -19,9 +19,7 @@#include <linux/ioctl.h> #include <linux/init.h> #include <linux/mtd/compatmac.h> -#ifdef CONFIG_PROC_FS #include <linux/proc_fs.h> -#endif #include <linux/mtd/mtd.h>
@@ -351,19 +349,15 @@ done:static int __init init_mtd (void ) { -#ifdef CONFIG_PROC_FS if ((proc_mtd =create_proc_entry ("mtd" ,0 ,NULL ))) proc_mtd->read_proc = mtd_read_proc; -#endif return 0 ; } static void __exit cleanup_mtd(void) { -#ifdef CONFIG_PROC_FS if (proc_mtd)remove_proc_entry ("mtd" ,NULL ); -#endif }module_init (init_mtd);
Signature · 1 line
Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted...