]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
powerpc/mm/drmem: Silence drmem_init() early return
authorNathan Lynch <nathanl@linux.ibm.com>
Mon, 3 Jun 2024 19:31:32 +0000 (14:31 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 4 Jun 2024 07:13:56 +0000 (17:13 +1000)
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
arch/powerpc/mm/drmem.c

index c110ab8fa8a35e8a2ad49b64636a13eca65a1b58..8dd7b340d51f8afecc110b294870f3e9121fa83f 100644 (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);