[PATCH 4/9 v3] staging: spi: mt7621: Remove superfluous SPI_BPW_MASK definition
Stefan Roese
sr at denx.de
Fri Feb 1 10:17:10 UTC 2019
This patch removes the SPI_BPW_MASK definition as this is already
available in include/linux/spi/spi.h.
Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Mark Brown <broonie at kernel.org>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: NeilBrown <neil at brown.name>
Cc: Sankalp Negi <sankalpnegi2310 at gmail.com>
Cc: Chuanhong Guo <gch981213 at gmail.com>
Cc: John Crispin <john at phrozen.org>
---
v3:
- New patch, changes spilt into separate patches
drivers/staging/mt7621-spi/spi-mt7621.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
index ca4632740827..fe9c863af1cc 100644
--- a/drivers/staging/mt7621-spi/spi-mt7621.c
+++ b/drivers/staging/mt7621-spi/spi-mt7621.c
@@ -19,8 +19,6 @@
#include <linux/reset.h>
#include <linux/spi/spi.h>
-#define SPI_BPW_MASK(bits) BIT((bits) - 1)
-
#define DRIVER_NAME "spi-mt7621"
/* in usec */
#define RALINK_SPI_WAIT_MAX_LOOP 2000
--
2.20.1
More information about the devel
mailing list