]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: compress: Delete error messages for a failed memory allocation in snd_soc_new_c...
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 10 Aug 2017 14:21:34 +0000 (16:21 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 10 Aug 2017 15:23:07 +0000 (16:23 +0100)
commit2943c5b48808fb453139c10d183e90b89e59371b
treef2324c06f9315554b32fb51dbaccc879ecd7849d
parent9238ecfbaaeffcf7977c2776af9c57c0a4a878ed
ASoC: compress: Delete error messages for a failed memory allocation in snd_soc_new_compress()

Omit extra messages for a memory allocation failure in this function.

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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-compress.c