浏览代码

mtd: pxa3xx_nand: Remove dead code

This macro is not used anymore, so it's just dead code.
Remove it.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Ezequiel García 9 年之前
父节点
当前提交
f3028c8408
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      drivers/mtd/nand/pxa3xx_nand.c

+ 0 - 5
drivers/mtd/nand/pxa3xx_nand.c

@@ -30,11 +30,6 @@
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_mtd.h>
-
-#if defined(CONFIG_ARM) && (defined(CONFIG_ARCH_PXA) || defined(CONFIG_ARCH_MMP))
-#define ARCH_HAS_DMA
-#endif
-
 #include <linux/platform_data/mtd-nand-pxa3xx.h>
 
 #define	CHIP_DELAY_TIMEOUT	msecs_to_jiffies(200)