Commit 59fe6631 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Stephen Boyd

clk: versatile: remove unneeded error message

If kzalloc fails we will already have many messages in the log and we do
not need another message to know that kzalloc for sp810 has failed.
Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 47c5ee34
......@@ -95,10 +95,8 @@ static void __init clk_sp810_of_setup(struct device_node *node)
int i;
bool deprecated;
if (!sp810) {
pr_err("Failed to allocate memory for SP810!\n");
if (!sp810)
return;
}
if (of_clk_parent_fill(node, parent_names, num) != num) {
pr_warn("Failed to obtain parent clocks for SP810!\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment