Commit 7862126a authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Takashi Iwai

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: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 9fb01cdb
...@@ -465,7 +465,6 @@ static void __exit ...@@ -465,7 +465,6 @@ static void __exit
snd_bebob_exit(void) snd_bebob_exit(void)
{ {
driver_unregister(&bebob_driver.driver); driver_unregister(&bebob_driver.driver);
mutex_destroy(&devices_mutex);
} }
module_init(snd_bebob_init); module_init(snd_bebob_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment