summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Krause <xerofoiffy@gmail.com>2014-08-06 13:53:17 -0400
committerBen Hutchings <ben@decadent.org.uk>2019-05-11 15:22:47 +0100
commit4534e6e7ffd81ec5ceb782d44e45f295391568d4 (patch)
treee9e629352b8d9e7d301e098368021a886fa3e88f
parent8b197d3ce585d6777197e0633d71e5af7d98cb35 (diff)
spi: omap-100k: Remove unused definitions
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@gmail.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--drivers/spi/spi-omap-100k.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c
index e7ffcded4e14..75a5b1913807 100644
--- 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.
*/