]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: rawmidi: Simplify error paths
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 Jul 2018 20:45:50 +0000 (22:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Jul 2018 20:48:38 +0000 (22:48 +0200)
commit179df976f289206e5892800a8cdf3dd3b26703d8
treeaec2c291cfe26eaea3c06c6766bf2369170f1452
parent6378227db7c12e5de1a3d8c82825f59ec98aca77
ALSA: rawmidi: Simplify error paths

Apply the standard idiom: rewrite the multiple unlocks in error paths
in the goto-error-and-single-unlock way.

Just a code refactoring, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/rawmidi.c