diff mbox series

[07/10] spi: spi-falcon: remove check for 'delay_usecs'

Message ID 20210308145502.1075689-8-aardelean@deviqon.com (mailing list archive)
State Accepted
Commit a886010c69718988756fd7873522caa0f26af398
Headers show
Series spi: finalize 'delay_usecs' removal/transition | expand

Commit Message

Alexandru Ardelean March 8, 2021, 2:54 p.m. UTC
The 'delay_usecs' field is being removed from the spi_transfer struct.
This change removes it from the SPI Falcon driver.

Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
---
 drivers/spi/spi-falcon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c
index d3336a63f462..a7d4dffac66b 100644
--- a/drivers/spi/spi-falcon.c
+++ b/drivers/spi/spi-falcon.c
@@ -377,7 +377,7 @@  static int falcon_sflash_xfer_one(struct spi_master *master,
 
 		m->actual_length += t->len;
 
-		WARN_ON(t->delay_usecs || t->delay.value || t->cs_change);
+		WARN_ON(t->delay.value || t->cs_change);
 		spi_flags = 0;
 	}