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 0b2e56d..d14cbe1 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;
        }