diff options
-rw-r--r-- | sound/core/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/init.c b/sound/core/init.c index dc06e79ca09f..e3338d6071ef 100644 --- a/sound/core/init.c +++ b/sound/core/init.c | |||
@@ -339,8 +339,8 @@ int snd_card_disconnect(struct snd_card *card) | |||
339 | list_add(&mfile->shutdown_list, &shutdown_files); | 339 | list_add(&mfile->shutdown_list, &shutdown_files); |
340 | spin_unlock(&shutdown_lock); | 340 | spin_unlock(&shutdown_lock); |
341 | 341 | ||
342 | fops_get(&snd_shutdown_f_ops); | ||
343 | mfile->file->f_op = &snd_shutdown_f_ops; | 342 | mfile->file->f_op = &snd_shutdown_f_ops; |
343 | fops_get(mfile->file->f_op); | ||
344 | 344 | ||
345 | mfile = mfile->next; | 345 | mfile = mfile->next; |
346 | } | 346 | } |