spi: omap-100k: Remove unused definitions
authorNick Krause <xerofoiffy@gmail.com>
Wed, 6 Aug 2014 17:53:17 +0000 (13:53 -0400)
committerMark Brown <broonie@linaro.org>
Sat, 16 Aug 2014 22:12:14 +0000 (17:12 -0500)
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>
drivers/spi/spi-omap-100k.c

index 5e91858f6f01f819dfb0f4191e7f369e6f9bbafe..fb522765ce5ad4e29e4d1d5cdd3c8ef75b9a290e 100644 (file)
 #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.
  */