summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2015-12-07 23:26:02 +0100
committerBrian Norris <computersforpeace@gmail.com>2016-01-26 10:27:37 -0800
commit8be721beb30f14bac915ca1357a0b584d03c0749 (patch)
tree3ce77d8e9bed6b39b55a35894bc4a3db177b3f77 /drivers
parent02db97a9de1c80bd5551ba46d901cb4d912f78f2 (diff)
staging: mt29f_spinand: kill unused ecclayout field
The spinand_info struct embeds a pointer to an ecclayout definition, but this field is never used in the mt29f driver. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/mt29f_spinand/mt29f_spinand.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/mt29f_spinand/mt29f_spinand.h b/drivers/staging/mt29f_spinand/mt29f_spinand.h
index ae62975cf44a..457dc7ffdaf1 100644
--- a/drivers/staging/mt29f_spinand/mt29f_spinand.h
+++ b/drivers/staging/mt29f_spinand/mt29f_spinand.h
@@ -78,7 +78,6 @@
#define BL_ALL_UNLOCKED 0
struct spinand_info {
- struct nand_ecclayout *ecclayout;
struct spi_device *spi;
void *priv;
};