diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-09-27 11:38:17 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2017-09-28 15:22:50 +0200 |
commit | 9edb39d750c0a9a6f7dafb8d9d15e63f6d44b68c (patch) | |
tree | efb27c9196530e7eeb1124e1ab7eddfa4e6e0399 /drivers/clk/rockchip | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
clk: rockchip: Remove superfluous error message in rockchip_clk_register_cpuclk()
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>
Diffstat (limited to 'drivers/clk/rockchip')
-rw-r--r-- | drivers/clk/rockchip/clk-cpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clk/rockchip/clk-cpu.c b/drivers/clk/rockchip/clk-cpu.c index 0e09684d43a5..32c19c0f1e14 100644 --- 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; } |