mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
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>
This commit is contained in:
parent
9fb01cdb38
commit
7862126a4f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user