summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/sf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/spi/sf.c')
-rw-r--r--drivers/mtd/spi/sf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/spi/sf.c b/drivers/mtd/spi/sf.c
index 664e86082b..d5e175ca00 100644
--- a/drivers/mtd/spi/sf.c
+++ b/drivers/mtd/spi/sf.c
@@ -18,10 +18,6 @@ static int spi_flash_read_write(struct spi_slave *spi,
unsigned long flags = SPI_XFER_BEGIN;
int ret;
-#ifdef CONFIG_SF_DUAL_FLASH
- if (spi->flags & SPI_XFER_U_PAGE)
- flags |= SPI_XFER_U_PAGE;
-#endif
if (data_len == 0)
flags |= SPI_XFER_END;