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

ALSA: hda/hdmi: Use single mutex unlock in error paths



Instead of calling mutex_unlock() at each error path multiple times,
take the standard goto-and-a-single-unlock approach.  This will
simplify the code and make easier to find the unbalanced mutex locks.

No functional changes, but only the code readability improvement as a
preliminary work for further changes.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent fad56c89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment