From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Subject: [PATCH 4/9 v3] staging: spi: mt7621: Remove superfluous SPI_BPW_MASK definition Date: Fri, 1 Feb 2019 11:17:10 +0100 Message-ID: <20190201101715.3760-4-sr@denx.de> References: <20190201101715.3760-1-sr@denx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Greg Kroah-Hartman , Sankalp Negi , Mark Brown , John Crispin , NeilBrown To: linux-spi@vger.kernel.org, devel@driverdev.osuosl.org Return-path: In-Reply-To: <20190201101715.3760-1-sr@denx.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" List-Id: linux-spi.vger.kernel.org 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: Greg Kroah-Hartman Cc: NeilBrown Cc: Sankalp Negi Cc: Chuanhong Guo Cc: John Crispin --- 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 #include -#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