summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorWeizhao Ouyang <o451686892@gmail.com>2021-09-07 19:56:06 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-08 11:50:24 -0700
commit395519b4b6e82741f29aaf6defa66cbdf3466584 (patch)
tree374cc2ed7e3ef66d66254a75f7912069e5c31c47 /mm
parent8491502f787c4a902bd4f223b578ef47d3490264 (diff)
downloadlinux-395519b4b6e82741f29aaf6defa66cbdf3466584.tar.gz
linux-395519b4b6e82741f29aaf6defa66cbdf3466584.tar.bz2
linux-395519b4b6e82741f29aaf6defa66cbdf3466584.zip
mm/early_ioremap.c: remove redundant early_ioremap_shutdown()
early_ioremap_reset() reserved a weak function so that architectures can provide a specific cleanup. Now no architectures use it, remove this redundant function. Link: https://lkml.kernel.org/r/20210901082917.399953-1-o451686892@gmail.com Signed-off-by: Weizhao Ouyang <o451686892@gmail.com> Reviewed-by: David Hildenbrand <david@redhat.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/early_ioremap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/early_ioremap.c b/mm/early_ioremap.c
index 164607c7cdf1..74984c23a87e 100644
--- a/mm/early_ioremap.c
+++ b/mm/early_ioremap.c
@@ -38,13 +38,8 @@ pgprot_t __init __weak early_memremap_pgprot_adjust(resource_size_t phys_addr,
return prot;
}
-void __init __weak early_ioremap_shutdown(void)
-{
-}
-
void __init early_ioremap_reset(void)
{
- early_ioremap_shutdown();
after_paging_init = 1;
}