[PATCH v2 09/16] mtdchar: replace deprecated mmap hook with mmap_prepare, clean up
Richard Weinberger
richard at nod.at
Mon Mar 16 14:45:43 PDT 2026
----- Ursprüngliche Mail -----
> Von: "Lorenzo Stoakes (Oracle)" <ljs at kernel.org>
[...]
> 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 at kernel.org>
> ---
> drivers/mtd/mtdchar.c | 21 +++------------------
> 1 file changed, 3 insertions(+), 18 deletions(-)
Acked-by: Richard Weinberger <richard at nod.at>
Thanks,
//richard
More information about the linux-afs
mailing list