Skip to content

Commit 49d8575

Browse files
miquelraynalbroonie
authored andcommitted
spi: atmel: Drop unused defines
These defines are leftovers from previous versions of the blamed commit, they are simply unused so drop them. Fixes: e0205d6 ("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>
1 parent 1ca2761 commit 49d8575

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/spi/spi-atmel.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,6 @@
233233
*/
234234
#define DMA_MIN_BYTES 16
235235

236-
#define SPI_DMA_MIN_TIMEOUT (msecs_to_jiffies(1000))
237-
#define SPI_DMA_TIMEOUT_PER_10K (msecs_to_jiffies(4))
238-
239236
#define AUTOSUSPEND_TIMEOUT 2000
240237

241238
struct atmel_spi_caps {

0 commit comments

Comments
 (0)