]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc164a608e9ee18f62f95389f771e64d151e3c3d5
tree4ebb61c86082bfe7af4b5bdd128ecb94d82595a5
parentff016ab847895b78267b6abb4b44a0cf92b9fc13
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