ASoC: spear: Delete an error message for a failed memory allocation in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 10 Aug 2017 07:50:51 +0000 (09:50 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 10 Aug 2017 14:53:21 +0000 (15:53 +0100)
commit65d55e8a3bb2d2a98078590cfa49cd508aa80e81
tree1564e1dc61fbc26cce73ee0091d37a14f4e60939
parent27d30400c448264c1ac9434cb836de0c230af213
ASoC: spear: Delete an error message for a failed memory allocation in two functions

Omit an extra message for a memory allocation failure in these functions.

This issue was detected by using the Coccinelle software.

Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/spear/spdif_in.c
sound/soc/spear/spdif_out.c