From: Ezequiel GarcĂ­a Date: Wed, 4 Nov 2015 16:13:45 +0000 (-0300) Subject: mtd: pxa3xx_nand: Remove dead code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f3028c840867d2235886a6a5c97865fc9d91bafd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Robert Jarzmik Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index bf1b2ac0e425..2f337eaef155 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c @@ -30,11 +30,6 @@ #include #include #include - -#if defined(CONFIG_ARM) && (defined(CONFIG_ARCH_PXA) || defined(CONFIG_ARCH_MMP)) -#define ARCH_HAS_DMA -#endif - #include #define CHIP_DELAY_TIMEOUT msecs_to_jiffies(200)