[2.6 patch] remove dead MTD_PMC551_APERTURE_SIZE option

Adrian Bunk bunk at stusta.de
Sun Jun 3 16:54:00 EDT 2007


The CONFIG_MTD_PMC551_APERTURE_SIZE option seems to never have existed, 
so there's no reason for carrying an #ifdef for it.

Signed-off-by: Adrian Bunk <bunk at stusta.de>

---
--- linux-2.6.22-rc3-mm1/drivers/mtd/devices/pmc551.c.old	2007-06-03 19:16:00.000000000 +0200
+++ linux-2.6.22-rc3-mm1/drivers/mtd/devices/pmc551.c	2007-06-03 19:16:50.000000000 +0200
@@ -649,11 +649,7 @@
  * Stuff these outside the ifdef so as to not bust compiled in driver support
  */
 static int msize = 0;
-#if defined(CONFIG_MTD_PMC551_APERTURE_SIZE)
-static int asize = CONFIG_MTD_PMC551_APERTURE_SIZE;
-#else
 static int asize = 0;
-#endif
 
 module_param(msize, int, 0);
 MODULE_PARM_DESC(msize, "memory size in Megabytes [1 - 1024]");





More information about the linux-mtd mailing list