diff mbox series

[2/2] spi: atmel: Drop unused defines

Message ID 20231127095842.389631-2-miquel.raynal@bootlin.com (mailing list archive)
State Accepted
Commit 49d8575ca6135a533218e40ddcb85462fd9ff1d2
Headers show
Series [1/2] spi: atmel: Do not cancel a transfer upon any signal | expand

Commit Message

Miquel Raynal Nov. 27, 2023, 9:58 a.m. UTC
These defines are leftovers from previous versions of the blamed commit,
they are simply unused so drop them.

Fixes: e0205d6203c2 ("spi: atmel: Prevent false timeouts on long transfers")
Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
 drivers/spi/spi-atmel.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series


diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
index 2e8860865af9..0197c25f5029 100644
--- a/drivers/spi/spi-atmel.c
+++ b/drivers/spi/spi-atmel.c
@@ -233,9 +233,6 @@ 
 #define DMA_MIN_BYTES	16
-#define SPI_DMA_MIN_TIMEOUT	(msecs_to_jiffies(1000))
-#define SPI_DMA_TIMEOUT_PER_10K	(msecs_to_jiffies(4))
 struct atmel_spi_caps {