mtd: m25p80: Remove unneeded m25p->command field
authorBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 1 Jun 2018 10:03:24 +0000 (12:03 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 18 Jun 2018 09:45:55 +0000 (11:45 +0200)
The ->command field is no longer used, remove it.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
drivers/mtd/devices/m25p80.c

index e84563d2067f4fe28c1f0ed21defda049323dd36..3fc5ef4ebb162b828fbba8962fd80fea65ab496d 100644 (file)
 #include <linux/spi/flash.h>
 #include <linux/mtd/spi-nor.h>
 
-#define        MAX_CMD_SIZE            6
 struct m25p {
        struct spi_mem          *spimem;
        struct spi_nor          spi_nor;
-       u8                      command[MAX_CMD_SIZE];
 };
 
 static int m25p80_read_reg(struct spi_nor *nor, u8 code, u8 *val, int len)