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 <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 7260050 commit 8675330

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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)