aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Lynch <[email protected]>2024-06-03 14:31:32 -0500
committerMichael Ellerman <[email protected]>2024-06-04 17:13:56 +1000
commit11e6e6d8bf8f908468bac0447727e3f3923c8512 (patch)
treead66d401dfde3778aa807e03992fedba8203ac56
parent43ac9f5cd457bb01930f87448ddaaae455f8a8cf (diff)
powerpc/mm/drmem: Silence drmem_init() early return
It's not an error or noteworthy condition if the "ibm,dynamic-reconfiguration-memory" node isn't present. Drop the needless message. Signed-off-by: Nathan Lynch <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
-rw-r--r--arch/powerpc/mm/drmem.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/mm/drmem.c b/arch/powerpc/mm/drmem.c
index c110ab8fa8a3..8dd7b340d51f 100644
--- a/arch/powerpc/mm/drmem.c
+++ b/arch/powerpc/mm/drmem.c
@@ -491,10 +491,8 @@ static int __init drmem_init(void)
const __be32 *prop;
dn = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory");
- if (!dn) {
- pr_info("No dynamic reconfiguration memory found\n");
+ if (!dn)
return 0;
- }
if (init_drmem_lmb_size(dn)) {
of_node_put(dn);