Skip to contentSkip to conversation

mm-early_ioremapc-remove-redundant-early_ioremap_shutdown.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 9, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/early_ioremap.c: remove redundant early_ioremap_shutdown()
has been removed from the -mm tree. Its filename was
mm-early_ioremapc-remove-redundant-early_ioremap_shutdown.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Weizhao Ouyang <[email protected]>
Subject: 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.

---

 include/asm-generic/early_ioremap.h |    6 ------
 mm/early_ioremap.c                  |    5 -----
 2 files changed, 11 deletions(-)
include/asm-generic/early_ioremap.h renamed from include/asm-generic/early_ioremap.h~mm-early_ioremapc-remove-redundant-early_ioremap_shutdown +0 -6
@@ -19,12 +19,6 @@ extern void *early_memremap_prot(resourc
 extern void early_iounmap(void __iomem *addr, unsigned long size);
 extern void early_memunmap(void *addr, unsigned long size);
 
-/*
- * Weak function called by early_ioremap_reset(). It does nothing, but
- * architectures may provide their own version to do any needed cleanups.
- */
-extern void early_ioremap_shutdown(void);
-
 #if defined(CONFIG_GENERIC_EARLY_IOREMAP) && defined(CONFIG_MMU)
 /* Arch-specific initialization */
 extern void early_ioremap_init(void);
mm/early_ioremap.c renamed from mm/early_ioremap.c~mm-early_ioremapc-remove-redundant-early_ioremap_shutdown +0 -5
@@ -38,13 +38,8 @@ pgprot_t __init __weak early_memremap_pg
 	return prot;
 }
 
-void __init __weak early_ioremap_shutdown(void)
-{
-}
-
 void __init early_ioremap_reset(void)
 {
-	early_ioremap_shutdown();
 	after_paging_init = 1;
 }
 

_

Patches currently in -mm which might be from [email protected] are