[PATCH v3 6/9] mtd: rawnand: sunxi: remove dead code
Miquel Raynal
miquel.raynal at bootlin.com
Tue Mar 17 07:34:45 PDT 2026
On 17/03/2026 at 15:24:34 +01, Richard Genoud <richard.genoud at bootlin.com> wrote:
> sunxi_nand_ooblayout_free() is only used in a code path where
> engine_type == NAND_ECC_ENGINE_TYPE_ON_HOST
>
> So the other cases can be removed.
>
> Signed-off-by: Richard Genoud <richard.genoud at bootlin.com>
> ---
Thanks! This looks much simpler and yet remains accurate.
More information about the linux-mtd
mailing list