Skip to content
Commit 41672c0c authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: timer: Simplify error path in snd_timer_open()



Just a minor refactoring to use the standard goto for error paths in
snd_timer_open() instead of open code.  The first mutex_lock() is
moved to the beginning of the function to make the code clearer.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2eabc5ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment