The comments could not reflect the code, and it is easy to get what this function does from a straight-line reading of the code. So let's drop the comments
Signed-off-by: Peng Fan <peng....@nxp.com> Acked-by: Mark Rutland <mark.rutl...@arm.com> --- V2: Drop comments. Add a-b update commit log. V1: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1929643.html arch/arm64/mm/mmu.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c index d6b6f1b169bb..402b6495ff58 100644 --- a/arch/arm64/mm/mmu.c +++ b/arch/arm64/mm/mmu.c @@ -654,10 +654,6 @@ static void __init map_kernel(pgd_t *pgdp) kasan_copy_shadow(pgdp); } -/* - * paging_init() sets up the page tables, initialises the zone memory - * maps and sets up the zero page. - */ void __init paging_init(void) { pgd_t *pgdp = pgd_set_fixmap(__pa_symbol(swapper_pg_dir)); -- 2.16.4