Explorar o código

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>
Boris BREZILLON %!s(int64=10) %!d(string=hai) anos
pai
achega
8be721beb3
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      drivers/staging/mt29f_spinand/mt29f_spinand.h

+ 0 - 1
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;
 };