[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190823153946.12860-1-tudor.ambarus@microchip.com>
Date: Fri, 23 Aug 2019 15:39:54 +0000
From: <Tudor.Ambarus@...rochip.com>
To: <miquel.raynal@...tlin.com>, <richard@....at>,
<marek.vasut@...il.com>, <vigneshr@...com>, <trivial@...nel.org>,
<linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
CC: <Tudor.Ambarus@...rochip.com>
Subject: [PATCH trivial] mtd: spi-nor: Remove unused macro
From: Tudor Ambarus <tudor.ambarus@...rochip.com>
Remove leftover from nor->cmd_buf.
Signed-off-by: Tudor Ambarus <tudor.ambarus@...rochip.com>
---
include/linux/mtd/spi-nor.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h
index 63560b375168..3075ac73b171 100644
--- a/include/linux/mtd/spi-nor.h
+++ b/include/linux/mtd/spi-nor.h
@@ -225,7 +225,6 @@ static inline u8 spi_nor_get_protocol_width(enum spi_nor_protocol proto)
return spi_nor_get_protocol_data_nbits(proto);
}
-#define SPI_NOR_MAX_CMD_SIZE 8
enum spi_nor_ops {
SPI_NOR_OPS_READ = 0,
SPI_NOR_OPS_WRITE,
--
2.9.5
Powered by blists - more mailing lists