ALSA: ctxfi: Use common error handling code in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 22 Aug 2017 16:43:42 +0000 (18:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Aug 2017 17:43:29 +0000 (19:43 +0200)
commitcbb7eb20bb7c73b27e8ece8f871458ab0eab8253
tree0480306ac3a5e3722605c191f21ed0e7ec05e19c
parent2cded8c891fe04bea5772fad20c96c72315b9014
ALSA: ctxfi: Use common error handling code in two functions

Add jump targets so that a bit of exception handling can be better reused
at the end of these functions.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctpcm.c