aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-05-27 11:14:46 -0400
committerTakashi Iwai <tiwai@suse.de>2014-05-27 11:36:11 -0400
commit7862126a4f0604610bf0159145447c76f67f3db8 (patch)
tree940ce0147b12fb70fc315c466ad0db58407c4674 /sound
parent9fb01cdb38e0a72f40befdeba68ce7022468b7c8 (diff)
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')
-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
465snd_bebob_exit(void) 465snd_bebob_exit(void)
466{ 466{
467 driver_unregister(&bebob_driver.driver); 467 driver_unregister(&bebob_driver.driver);
468 mutex_destroy(&devices_mutex);
469} 468}
470 469
471module_init(snd_bebob_init); 470module_init(snd_bebob_init);