From: Axel Lin Date: Thu, 2 Jan 2014 12:19:02 +0000 (+0800) Subject: spi: s3c64xx: Remove duplicate code to clear S3C64XX_SPI_SLAVE_SEL register X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0abd3e37e6b2c3ea77f7d8597b3f22ad42d8defc;p=openwrt%2Fstaging%2Fblogic.git spi: s3c64xx: Remove duplicate code to clear S3C64XX_SPI_SLAVE_SEL register Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 4c4b0a1219a7..b4ea9306cf35 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/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);