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>
This commit is contained in:
Markus Elfring 2017-09-27 11:38:17 +02:00 committed by Heiko Stuebner
parent 2bd6bf03f4
commit 9edb39d750
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}