Commit 021fb6f2 authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Takashi Iwai

ALSA: fireworks: Remove meaningless mutex_destroy()

Currently mutex_destroy() is called in module's cleanup function. But after
cleaned up, this mutex is automatically released. So this function call
is meaningless.

[fixed a typo in changelog by tiwai]
Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent f3479150
...@@ -346,7 +346,6 @@ static void __exit snd_efw_exit(void) ...@@ -346,7 +346,6 @@ static void __exit snd_efw_exit(void)
{ {
snd_efw_transaction_unregister(); snd_efw_transaction_unregister();
driver_unregister(&efw_driver.driver); driver_unregister(&efw_driver.driver);
mutex_destroy(&devices_mutex);
} }
module_init(snd_efw_init); module_init(snd_efw_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