mtd: rawnand: cadence: remove unused struct 'ecc_info'
Subsystems (3)
PATCH 1/1 mtd: rawnand: cadence: remove unused struct 'ecc_info'
From: "Dr. David Alan Gilbert" <[email protected]>
'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 <[email protected]>
--- drivers/mtd/nand/raw/cadence-nand-controller.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/mtd/nand/raw/cadence-nand-controller.c +0 -5
@@ -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) {
Signature · 1 line
2.45.1
Quoted 9 lines · On Sat, 2024-05-25 at 20:25:29 UTC, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
ecc_info' has been unused since the original
commitec4ba01e894d("mtd: rawnand: Add new Cadence NAND driver to MTD subsystem").Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel