Skip to content

Commit 8675330

Browse files
Dr. David Alan Gilbertmiquelraynal
authored andcommitted
mtd: rawnand: cadence: remove unused struct 'ecc_info'
'ecc_info' has been unused since the original commit ec4ba01 ("mtd: rawnand: Add new Cadence NAND driver to MTD subsystem"). Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20240525202529.120792-1-linux@treblig.org
1 parent 7260050 commit 8675330

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/mtd/nand/raw/cadence-nand-controller.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -531,11 +531,6 @@ struct cdns_nand_chip {
531531
u8 cs[] __counted_by(nsels);
532532
};
533533

534-
struct ecc_info {
535-
int (*calc_ecc_bytes)(int step_size, int strength);
536-
int max_step_size;
537-
};
538-
539534
static inline struct
540535
cdns_nand_chip *to_cdns_nand_chip(struct nand_chip *chip)
541536
{

0 commit comments

Comments
 (0)