diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-06-01 12:03:24 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-06-18 11:45:55 +0200 |
commit | 00a5762b45250ebde8920d3cf68ca3974a0253b2 (patch) | |
tree | 60f32b48cf2872e3283cd49e10e3e8b4c3741278 /drivers/mtd | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) | |
download | linux-00a5762b45250ebde8920d3cf68ca3974a0253b2.tar.gz linux-00a5762b45250ebde8920d3cf68ca3974a0253b2.tar.bz2 linux-00a5762b45250ebde8920d3cf68ca3974a0253b2.zip |
mtd: m25p80: Remove unneeded m25p->command field
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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/devices/m25p80.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index e84563d2067f..3fc5ef4ebb16 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -28,11 +28,9 @@ #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) |