summaryrefslogtreecommitdiff
path: root/sound/firewire
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-05-28 00:14:46 +0900
committerTakashi Iwai <tiwai@suse.de>2014-05-27 17:36:11 +0200
commit7862126a4f0604610bf0159145447c76f67f3db8 (patch)
tree940ce0147b12fb70fc315c466ad0db58407c4674 /sound/firewire
parent9fb01cdb38e0a72f40befdeba68ce7022468b7c8 (diff)
downloadlwn-7862126a4f0604610bf0159145447c76f67f3db8.tar.gz
lwn-7862126a4f0604610bf0159145447c76f67f3db8.zip
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 <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
-rw-r--r--sound/firewire/bebob/bebob.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/bebob/bebob.c b/sound/firewire/bebob/bebob.c
index 0e9d625128cf..fc19c99654aa 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);