mtd: nand: remove obsolete 'ecclayout' field
authorBrian Norris <computersforpeace@gmail.com>
Sat, 24 Aug 2013 06:24:47 +0000 (23:24 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 27 Oct 2013 23:27:03 +0000 (16:27 -0700)
This field is never used, except to print it out.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/fsl_elbc_nand.c
drivers/mtd/nand/fsl_ifc_nand.c
include/linux/mtd/nand.h

index 20657209a472f388a0ecdd933322db5ad2d945cb..c6ef9f1c7a825f718a901139f4f56bc1c36d9e1d 100644 (file)
@@ -650,8 +650,6 @@ static int fsl_elbc_chip_init_tail(struct mtd_info *mtd)
                chip->page_shift);
        dev_dbg(priv->dev, "fsl_elbc_init: nand->phys_erase_shift = %d\n",
                chip->phys_erase_shift);
-       dev_dbg(priv->dev, "fsl_elbc_init: nand->ecclayout = %p\n",
-               chip->ecclayout);
        dev_dbg(priv->dev, "fsl_elbc_init: nand->ecc.mode = %d\n",
                chip->ecc.mode);
        dev_dbg(priv->dev, "fsl_elbc_init: nand->ecc.steps = %d\n",
index 317a771f1587c94f3fd57c45c8e140deeb08b982..47acda6c4e924359301697681c00aaef83a1231c 100644 (file)
@@ -718,8 +718,6 @@ static int fsl_ifc_chip_init_tail(struct mtd_info *mtd)
                                                        chip->page_shift);
        dev_dbg(priv->dev, "%s: nand->phys_erase_shift = %d\n", __func__,
                                                        chip->phys_erase_shift);
-       dev_dbg(priv->dev, "%s: nand->ecclayout = %p\n", __func__,
-                                                       chip->ecclayout);
        dev_dbg(priv->dev, "%s: nand->ecc.mode = %d\n", __func__,
                                                        chip->ecc.mode);
        dev_dbg(priv->dev, "%s: nand->ecc.steps = %d\n", __func__,
index ac8e89d5a7929b6bdd40c424928a7d0d9872a73e..129548169400bfb88c3f298f69485c7e9cc93b58 100644 (file)
@@ -498,7 +498,6 @@ struct nand_buffers {
  *                     supported, 0 otherwise.
  * @onfi_set_features: [REPLACEABLE] set the features for ONFI nand
  * @onfi_get_features: [REPLACEABLE] get the features for ONFI nand
- * @ecclayout:         [REPLACEABLE] the default ECC placement scheme
  * @bbt:               [INTERN] bad block table pointer
  * @bbt_td:            [REPLACEABLE] bad block table descriptor for flash
  *                     lookup.
@@ -572,7 +571,6 @@ struct nand_chip {
 
        uint8_t *oob_poi;
        struct nand_hw_control *controller;
-       struct nand_ecclayout *ecclayout;
 
        struct nand_ecc_ctrl ecc;
        struct nand_buffers *buffers;