Title: [6816] trunk/arch/blackfin/kernel/setup.c: Blackfin: drop dead flash_probe call
- Revision
- 6816
- Author
- vapier
- Date
- 2009-06-20 14:40:01 -0500 (Sat, 20 Jun 2009)
Log Message
Blackfin: drop dead flash_probe call
There are no CONFIG_{BLK,CHR}_DEV_FLASH Kconfig options, and there is no
flash_probe() function, so not really sure what this code is all about.
Seems to be dead code that stretches way back to the start of the Blackfin
port.
Modified Paths
Diff
Modified: trunk/arch/blackfin/kernel/setup.c (6815 => 6816)
--- trunk/arch/blackfin/kernel/setup.c 2009-06-20 19:16:17 UTC (rev 6815)
+++ trunk/arch/blackfin/kernel/setup.c 2009-06-20 19:40:01 UTC (rev 6816)
@@ -867,13 +867,6 @@
else
printk("and Disabled\n");
-#if defined(CONFIG_CHR_DEV_FLASH) || defined(CONFIG_BLK_DEV_FLASH)
- /* we need to initialize the Flashrom device here since we might
- * do things with flash early on in the boot
- */
- flash_probe();
-#endif
-
printk(KERN_INFO "Boot Mode: %i\n", bfin_read_SYSCR() & 0xF);
/* Newer parts mirror SWRST bits in SYSCR */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits