Re: [PATCH v2 09/16] mtdchar: replace deprecated mmap hook with mmap_prepare, clean up
From: Richard Weinberger
Date: Mon Mar 16 2026 - 17:46:48 EST
----- Ursprüngliche Mail -----
> Von: "Lorenzo Stoakes (Oracle)" <ljs@xxxxxxxxxx>
[...]
> Commit f5cf8f07423b ("mtd: Disable mtdchar mmap on MMU systems") commented
> out the CONFIG_MMU part of this function back in 2012, so after ~14 years
> it's probably reasonable to remove this altogether rather than updating
> dead code.
>
> Signed-off-by: Lorenzo Stoakes (Oracle) <ljs@xxxxxxxxxx>
> ---
> drivers/mtd/mtdchar.c | 21 +++------------------
> 1 file changed, 3 insertions(+), 18 deletions(-)
Acked-by: Richard Weinberger <richard@xxxxxx>
Thanks,
//richard