[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <lsq.1557410897.75263673@decadent.org.uk>
Date: Thu, 09 May 2019 15:08:17 +0100
From: Ben Hutchings <ben@...adent.org.uk>
To: linux-kernel@...r.kernel.org, stable@...r.kernel.org
CC: akpm@...ux-foundation.org, Denis Kirjanov <kda@...ux-powerpc.org>,
"Geert Uytterhoeven" <geert@...ux-m68k.org>,
"Mark Brown" <broonie@...aro.org>,
"Nick Krause" <xerofoiffy@...il.com>
Subject: [PATCH 3.16 04/10] spi: omap-100k: Remove unused definitions
3.16.67-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Nick Krause <xerofoiffy@...il.com>
commit 9f5b8b4f56dd194fd33021810636879036d2acdd upstream.
Remove unused definition which cause the following warnings
drivers/spi/spi-omap-100k.c:73:0: warning: "WRITE" redefined [enabled by default]
include/linux/fs.h:193:0: note: this is the location of the previous definition
drivers/spi/spi-omap-100k.c:74:0: warning: "READ" redefined [enabled by default]
include/linux/fs.h:192:0: note: this is the location of the previous definition
Signed-off-by: Nick Krause <xerofoiffy@...il.com>
Acked-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Signed-off-by: Mark Brown <broonie@...aro.org>
Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
---
drivers/spi/spi-omap-100k.c | 4 ----
1 file changed, 4 deletions(-)
--- a/drivers/spi/spi-omap-100k.c
+++ b/drivers/spi/spi-omap-100k.c
@@ -70,10 +70,6 @@
#define SPI_STATUS_WE (1UL << 1)
#define SPI_STATUS_RD (1UL << 0)
-#define WRITE 0
-#define READ 1
-
-
/* use PIO for small transfers, avoiding DMA setup/teardown overhead and
* cache operations; better heuristics consider wordsize and bitrate.
*/
Powered by blists - more mailing lists