[trivial] mtd: spi-nor: Remove unused macro
diff mbox series

Message ID 20190823153946.12860-1-tudor.ambarus@microchip.com
State Accepted
Delegated to: Ambarus Tudor
Headers show
Series
  • [trivial] mtd: spi-nor: Remove unused macro
Related show

Commit Message

Ambarus Tudor Aug. 23, 2019, 3:39 p.m. UTC
From: Tudor Ambarus <tudor.ambarus@microchip.com>

Remove leftover from nor->cmd_buf.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
 include/linux/mtd/spi-nor.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Ambarus Tudor Aug. 28, 2019, 10:19 a.m. UTC | #1
On 08/23/2019 06:39 PM, Tudor Ambarus - M18064 wrote:
> From: Tudor Ambarus <tudor.ambarus@microchip.com>
> 
> Remove leftover from nor->cmd_buf.
> 
> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
> ---
>  include/linux/mtd/spi-nor.h | 1 -
>  1 file changed, 1 deletion(-)
> 

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git,
spi-nor/next branch.

Thanks,
ta

Patch
diff mbox series

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,