2007-06-03 20:54:14

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] remove dead MTD_PMC551_APERTURE_SIZE option

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 <[email protected]>

---
--- 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]");