spi: atmel: Drop unused defines
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 27 Nov 2023 09:58:42 +0000 (10:58 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 1 Dec 2023 22:19:14 +0000 (22:19 +0000)
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>
Link: https://lore.kernel.org/r/20231127095842.389631-2-miquel.raynal@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-atmel.c

index 2e8860865af960b2f8db0b9fe66e68155db8f64a..0197c25f5029c598ea26f018c9a58ff1b1a4caa4 100644 (file)
  */
 #define DMA_MIN_BYTES  16
 
-#define SPI_DMA_MIN_TIMEOUT    (msecs_to_jiffies(1000))
-#define SPI_DMA_TIMEOUT_PER_10K        (msecs_to_jiffies(4))
-
 #define AUTOSUSPEND_TIMEOUT    2000
 
 struct atmel_spi_caps {