clk: nomadik: Delete error messages for a failed memory allocation in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 20 Apr 2017 08:04:00 +0000 (10:04 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 22 Apr 2017 02:47:14 +0000 (19:47 -0700)
commit24f8186eb8d69a3a0d856ce59fb4f19ae23ff23a
tree4ebb61c86082bfe7af4b5bdd128ecb94d82595a5
parentadd3151133b9ae3bcfd97eab04d9a50b6606453c
clk: nomadik: Delete error messages for a failed memory allocation in two functions

The script "checkpatch.pl" pointed information out like the following.

WARNING: Possible unnecessary 'out of memory' message

Thus remove such statements here.

Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-nomadik.c