From: Markus Elfring Date: Mon, 25 Sep 2017 08:10:51 +0000 (+0200) Subject: clk: renesas: rcar-gen2: Delete error message for failed memory allocation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b4021bbe10017d994e5a96ebfd2677bbaf2b37e0;p=linux.git clk: renesas: rcar-gen2: Delete error message for failed memory allocation 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 Signed-off-by: Geert Uytterhoeven --- diff --git a/drivers/clk/renesas/clk-rcar-gen2.c b/drivers/clk/renesas/clk-rcar-gen2.c index 0b2e56d0d94bb..d14cbe1ca29ac 100644 --- a/drivers/clk/renesas/clk-rcar-gen2.c +++ b/drivers/clk/renesas/clk-rcar-gen2.c @@ -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; }