projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b411a74
)
clk: samsung: Delete a memory allocation error message in clk-cpu.c
author
Markus Elfring
<elfring@users.sourceforge.net>
Wed, 27 Sep 2017 13:46:53 +0000
(15:46 +0200)
committer
Junghoon Kim
<jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:55:50 +0000
(14:55 +0900)
Omit an extra message for a memory allocation failure
in exynos_register_cpu_clock() function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-cpu.c
patch
|
blob
|
history
diff --git
a/drivers/clk/samsung/clk-cpu.c
b/drivers/clk/samsung/clk-cpu.c
index
6686e8b
..
d2c99d8
100644
(file)
--- a/
drivers/clk/samsung/clk-cpu.c
+++ b/
drivers/clk/samsung/clk-cpu.c
@@
-457,8
+457,6
@@
int __init exynos_register_cpu_clock(struct samsung_clk_provider *ctx,
cpuclk->cfg = kmemdup(cfg, sizeof(*cfg) * num_cfgs, GFP_KERNEL);
if (!cpuclk->cfg) {
- pr_err("%s: could not allocate memory for cpuclk data\n",
- __func__);
ret = -ENOMEM;
goto unregister_clk_nb;
}