From: Takashi Sakamoto Date: Tue, 27 May 2014 15:14:46 +0000 (+0900) Subject: ALSA: bebob: Remove meaningless mutex_unlock() X-Git-Tag: v3.16-rc1~12^2~40^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7862126a4f0604610bf0159145447c76f67f3db8;p=users%2Fjedix%2Flinux-maple.git ALSA: bebob: Remove meaningless mutex_unlock() Currently mutex_unlock() is called in module's cleanup function. But after cleaned up, this mutex is automatically released. So this function call is meaningless. Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai --- diff --git a/sound/firewire/bebob/bebob.c b/sound/firewire/bebob/bebob.c index 0e9d625128cf2..fc19c99654aa0 100644 --- a/sound/firewire/bebob/bebob.c +++ b/sound/firewire/bebob/bebob.c @@ -465,7 +465,6 @@ static void __exit snd_bebob_exit(void) { driver_unregister(&bebob_driver.driver); - mutex_destroy(&devices_mutex); } module_init(snd_bebob_init);