mtd: rawnand: cadence: remove unused struct 'ecc_info'
'ecc_info' has been unused since the original
commit ec4ba01e89 ("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
This commit is contained in:
committed by
Miquel Raynal
parent
726005052d
commit
8675330ac7
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user