diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-09-25 10:10:51 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-09-28 17:57:34 +0200 |
commit | b4021bbe10017d994e5a96ebfd2677bbaf2b37e0 (patch) | |
tree | e6fcb8682737e48d22f55ecae2f7f89e9ed0af9a /drivers/clk/renesas/clk-rcar-gen2.c | |
parent | clk: renesas: mstp: Delete error messages for failed memory allocations (diff) | |
download | linux-b4021bbe10017d994e5a96ebfd2677bbaf2b37e0.tar.xz linux-b4021bbe10017d994e5a96ebfd2677bbaf2b37e0.zip |
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 <elfring@users.sourceforge.net>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/clk/renesas/clk-rcar-gen2.c')
-rw-r--r-- | drivers/clk/renesas/clk-rcar-gen2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/renesas/clk-rcar-gen2.c b/drivers/clk/renesas/clk-rcar-gen2.c index 0b2e56d0d94b..d14cbe1ca29a 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; } |