projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f347915
)
ALSA: fireworks: Remove meaningless mutex_destroy()
author
Takashi Sakamoto
<o-takashi@sakamocchi.jp>
Wed, 4 Jun 2014 06:25:36 +0000
(15:25 +0900)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 4 Jun 2014 12:37:59 +0000
(14:37 +0200)
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: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireworks/fireworks.c
patch
|
blob
|
history
diff --git
a/sound/firewire/fireworks/fireworks.c
b/sound/firewire/fireworks/fireworks.c
index
996fdc4
..
3e2ed8e
100644
(file)
--- a/
sound/firewire/fireworks/fireworks.c
+++ b/
sound/firewire/fireworks/fireworks.c
@@
-346,7
+346,6
@@
static void __exit snd_efw_exit(void)
{
snd_efw_transaction_unregister();
driver_unregister(&efw_driver.driver);
- mutex_destroy(&devices_mutex);
}
module_init(snd_efw_init);