1

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 <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240603-silence-drmem_init-v1-1-e9d71646bc3d@linux.ibm.com
This commit is contained in:
Nathan Lynch 2024-06-03 14:31:32 -05:00 committed by Michael Ellerman
parent 43ac9f5cd4
commit 11e6e6d8bf

View File

@ -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);