ALSA: emux: Delete two error messages for a failed memory allocation in snd_emux_crea...
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 9 Aug 2017 07:30:34 +0000 (09:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Aug 2017 15:55:13 +0000 (17:55 +0200)
commit64a591e67e30599bed0179f187e034cc0828010e
tree0f010116df51fc4601fbc29de8117e23bb0d0496
parentfbc020b48c85fc7e4ca42ceb095c76f294b00043
ALSA: emux: Delete two error messages for a failed memory allocation in snd_emux_create_port()

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: Takashi Iwai <tiwai@suse.de>
sound/synth/emux/emux_seq.c