ALSA: timer: Use common error handling code in alsa_timer_init()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 23 Aug 2017 07:30:41 +0000 (09:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Aug 2017 08:39:09 +0000 (10:39 +0200)
commit1ae0e4ce554fb57dc4d5e1eb8e6d302e3f18b0b4
tree788be833486080edb5de61dd15d966112b31e056
parentdd1f7ab8a88ddc8fbb304aaca25f549e26fa8529
ALSA: timer: Use common error handling code in alsa_timer_init()

Add a jump target so that a bit of exception handling can be better reused
at the end of this function.

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/core/timer.c