staging: mt29f_spinand: kill unused ecclayout field

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Mar 24 11:59:04 PDT 2016


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=8be721beb30f14bac915ca1357a0b584d03c0749
Commit:     8be721beb30f14bac915ca1357a0b584d03c0749
Parent:     02db97a9de1c80bd5551ba46d901cb4d912f78f2
Author:     Boris BREZILLON <boris.brezillon at free-electrons.com>
AuthorDate: Mon Dec 7 23:26:02 2015 +0100
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Jan 26 10:27:37 2016 -0800

    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 at free-electrons.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/staging/mt29f_spinand/mt29f_spinand.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/mt29f_spinand/mt29f_spinand.h b/drivers/staging/mt29f_spinand/mt29f_spinand.h
index ae62975..457dc7f 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;
 };



More information about the linux-mtd-cvs mailing list