Commit 8675330a authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by Miquel Raynal

mtd: rawnand: cadence: remove unused struct 'ecc_info'

'ecc_info' has been unused since the original
commit ec4ba01e ("mtd: rawnand: Add new Cadence NAND driver to MTD
subsystem").

Remove it.
Signed-off-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240525202529.120792-1-linux@treblig.org
parent 72600505
......@@ -531,11 +531,6 @@ struct cdns_nand_chip {
u8 cs[] __counted_by(nsels);
};
struct ecc_info {
int (*calc_ecc_bytes)(int step_size, int strength);
int max_step_size;
};
static inline struct
cdns_nand_chip *to_cdns_nand_chip(struct nand_chip *chip)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment