projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd6bf0
)
clk: rockchip: Remove superfluous error message in rockchip_clk_register_cpuclk()
author
Markus Elfring
<elfring@users.sourceforge.net>
Wed, 27 Sep 2017 09:38:17 +0000
(11:38 +0200)
committer
Heiko Stuebner
<heiko@sntech.de>
Thu, 28 Sep 2017 13:22:50 +0000
(15:22 +0200)
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-cpu.c
patch
|
blob
|
history
diff --git
a/drivers/clk/rockchip/clk-cpu.c
b/drivers/clk/rockchip/clk-cpu.c
index
0e09684
..
32c19c0
100644
(file)
--- a/
drivers/clk/rockchip/clk-cpu.c
+++ b/
drivers/clk/rockchip/clk-cpu.c
@@
-322,8
+322,6
@@
struct clk *rockchip_clk_register_cpuclk(const char *name,
sizeof(*rates) * nrates,
GFP_KERNEL);
if (!cpuclk->rate_table) {
- pr_err("%s: could not allocate memory for cpuclk rates\n",
- __func__);
ret = -ENOMEM;
goto unregister_notifier;
}