From: Takashi Sakamoto Date: Tue, 27 May 2014 15:14:46 +0000 (+0900) Subject: ALSA: bebob: Remove meaningless mutex_unlock() X-Git-Tag: v4.9.8~6235^2~40^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7862126a4f0604610bf0159145447c76f67f3db8;p=platform%2Fkernel%2Flinux-rpi3.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 0e9d625..fc19c99 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);