Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

'ecc_info' has been unused since the original
commit ec4ba01e894d ("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

authored by

Dr. David Alan Gilbert and committed by
Miquel Raynal
8675330a 72600505

-5
-5
drivers/mtd/nand/raw/cadence-nand-controller.c
··· 531 531 u8 cs[] __counted_by(nsels); 532 532 }; 533 533 534 - struct ecc_info { 535 - int (*calc_ecc_bytes)(int step_size, int strength); 536 - int max_step_size; 537 - }; 538 - 539 534 static inline struct 540 535 cdns_nand_chip *to_cdns_nand_chip(struct nand_chip *chip) 541 536 {