diff --git a/sound/core/init.c b/sound/core/init.c index cc8208df26f3..29f1ed707fd1 100644 --- a/sound/core/init.c +++ b/sound/core/init.c @@ -388,10 +388,8 @@ int snd_card_disconnect(struct snd_card *card) return 0; } card->shutdown = 1; - spin_unlock(&card->files_lock); /* replace file->f_op with special dummy operations */ - spin_lock(&card->files_lock); list_for_each_entry(mfile, &card->files_list, list) { /* it's critical part, use endless loop */ /* we have no room to fail */