]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
clk: renesas: rcar-gen2: Delete error message for failed memory allocation
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 25 Sep 2017 08:10:51 +0000 (10:10 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 28 Sep 2017 15:57:34 +0000 (17:57 +0200)
The script "checkpatch.pl" pointed information out like the following.

WARNING: Possible unnecessary 'out of memory' message

Thus fix affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/clk-rcar-gen2.c

index 0b2e56d0d94bb04c633cdebc1bef916e67d9d732..d14cbe1ca29ac0098610b1364b8fefb5ae07027d 100644 (file)
@@ -423,7 +423,6 @@ static void __init rcar_gen2_cpg_clocks_init(struct device_node *np)
                /* We're leaking memory on purpose, there's no point in cleaning
                 * up as the system won't boot anyway.
                 */
-               pr_err("%s: failed to allocate cpg\n", __func__);
                return;
        }