diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-11-20 14:22:28 +0530 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-11-20 09:17:18 -0800 |
commit | 59fe66313a41843bc4c237275e64f81cde121ac8 (patch) | |
tree | 81930ea36ecef99ce5b8e2f05d05f861ad49e548 /drivers/clk/versatile | |
parent | 47c5ee34d8d913a1ab1ae87544475c136ea25b26 (diff) | |
download | linux-next-59fe66313a41843bc4c237275e64f81cde121ac8.tar.gz |
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: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/versatile')
-rw-r--r-- | drivers/clk/versatile/clk-sp810.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clk/versatile/clk-sp810.c b/drivers/clk/versatile/clk-sp810.c index 6a36c8bcb5de..e78755e0ef78 100644 --- a/drivers/clk/versatile/clk-sp810.c +++ b/drivers/clk/versatile/clk-sp810.c @@ -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"); |