aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzequiel GarcĂ­a <[email protected]>2015-11-04 13:13:45 -0300
committerBrian Norris <[email protected]>2015-11-16 15:03:29 -0800
commitf3028c840867d2235886a6a5c97865fc9d91bafd (patch)
tree37135af468ec8d350a04658adef808f4b67b15fd
parentb1e485779c06d3e43a1818f1065874dd2504b5ef (diff)
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 <[email protected]> Acked-by: Robert Jarzmik <[email protected]> Signed-off-by: Brian Norris <[email protected]>
-rw-r--r--drivers/mtd/nand/pxa3xx_nand.c5
1 files changed, 0 insertions, 5 deletions
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 <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)