From: Stefan Roese Date: Fri, 1 Feb 2019 10:17:10 +0000 (+0100) Subject: staging: spi: mt7621: Remove superfluous SPI_BPW_MASK definition X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=da05e373a27c8da5600e423c5e81bf113ba46548;p=openwrt%2Fstaging%2Fblogic.git staging: spi: mt7621: Remove superfluous SPI_BPW_MASK definition This patch removes the SPI_BPW_MASK definition as this is already available in include/linux/spi/spi.h. Signed-off-by: Stefan Roese Cc: Mark Brown Cc: Sankalp Negi Cc: Chuanhong Guo Cc: John Crispin Reviewed-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- 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 #include -#define SPI_BPW_MASK(bits) BIT((bits) - 1) - #define DRIVER_NAME "spi-mt7621" /* in usec */ #define RALINK_SPI_WAIT_MAX_LOOP 2000