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 <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 1ca2761 commit 49d8575

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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)