Browse Source

spi: s3c64xx: Remove duplicate code to clear S3C64XX_SPI_SLAVE_SEL register

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Axel Lin 11 years ago
parent
commit
0abd3e37e6
1 changed files with 0 additions and 3 deletions
  1. 0 3
      drivers/spi/spi-s3c64xx.c

+ 0 - 3
drivers/spi/spi-s3c64xx.c

@@ -927,9 +927,6 @@ static int s3c64xx_spi_transfer_one(struct spi_master *master,
 	/* Start the signals */
 	writel(0, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
 
-	/* Start the signals */
-	writel(0, sdd->regs + S3C64XX_SPI_SLAVE_SEL);
-
 	spin_unlock_irqrestore(&sdd->lock, flags);
 
 	status = wait_for_xfer(sdd, xfer, use_dma);