sound: snd_ctl_remove_unlocked_id: simplify error paths
authorClemens Ladisch <clemens@ladisch.de>
Mon, 17 Aug 2009 10:26:34 +0000 (12:26 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Aug 2009 10:48:06 +0000 (12:48 +0200)
Use a common exit path to release the mutex and to return a possible
error.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control.c

Simple merge