From patchwork Mon Nov 27 09:58:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 13469305 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="dS1ef+Pf" Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7F63101 for ; Mon, 27 Nov 2023 01:58:45 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id DD110C0015; Mon, 27 Nov 2023 09:58:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1701079124; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rHGKlgKxT76iC8mipDwr85DcuoaL+X6WKArNXlsTKSA=; b=dS1ef+Pft6nEAqSbKigFpFnEFxXIV6hTvZs3MwDGFX0g8Op4UXKp4GAaQu6RULQit/u86N XGXWc6xNbp/ObJNYS/1b8Q8N7ZkhRH+jiGQf3+1zYNJ7dc+wXvnIeZ4ztBhmllmU8ySbfB 7qjWX5aCLBtQpCWfS8EQQu+tnOZmvo8rp/Gim4gmgWR4jK+HUjdOjgLYUHVmtJaX/tuRkP YzTfHqpbi4IHPGCABZCcj3P7d4pM7TqlrBK4cW1dPVDPaGGSvKICcMizEPwYTd+l4NVHfw /Jb3vt0R5dzJpq/OumM6L8uhEd6hNkBNW/Ojr80VTDAIF8rPTOZ7r+vklhvFzw== From: Miquel Raynal To: Mark Brown , Cc: Thomas Petazzoni , Ryan Wanner , Miquel Raynal , Ronald Wahl Subject: [PATCH 2/2] spi: atmel: Drop unused defines Date: Mon, 27 Nov 2023 10:58:42 +0100 Message-Id: <20231127095842.389631-2-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231127095842.389631-1-miquel.raynal@bootlin.com> References: <20231127095842.389631-1-miquel.raynal@bootlin.com> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-GND-Sasl: miquel.raynal@bootlin.com 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 Signed-off-by: Miquel Raynal --- drivers/spi/spi-atmel.c | 3 --- 1 file changed, 3 deletions(-) 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)) - #define AUTOSUSPEND_TIMEOUT 2000 struct atmel_spi_caps {