ALSA: bebob: Remove meaningless mutex_unlock()
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 27 May 2014 15:14:46 +0000 (00:14 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 May 2014 15:36:11 +0000 (17:36 +0200)
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 <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/bebob/bebob.c

index 0e9d625..fc19c99 100644 (file)
@@ -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);