summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-omap-100k.c
diff options
context:
space:
mode:
authorNick Krause <xerofoiffy@gmail.com>2014-08-06 19:53:17 +0200
committerMark Brown <broonie@linaro.org>2014-08-17 00:12:14 +0200
commit9f5b8b4f56dd194fd33021810636879036d2acdd (patch)
tree2fcb67de45dee0144767bab6db3ddfc374a19a06 /drivers/spi/spi-omap-100k.c
parentLinux 3.17-rc1 (diff)
downloadlinux-9f5b8b4f56dd194fd33021810636879036d2acdd.tar.xz
linux-9f5b8b4f56dd194fd33021810636879036d2acdd.zip
spi: omap-100k: Remove unused definitions
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>
Diffstat (limited to 'drivers/spi/spi-omap-100k.c')
-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 5e91858f6f01..fb522765ce5a 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.
*/