Merge branch 'for-next'
diff --git a/sound/core/control.c b/sound/core/control.c index 0ca9fff5..73d7ba0f5 100644 --- a/sound/core/control.c +++ b/sound/core/control.c
@@ -63,10 +63,8 @@ static int snd_ctl_open(struct inode *inode, struct file *file) goto __error1; } err = snd_card_file_add(card, file); - if (err < 0) { - err = -ENODEV; + if (err < 0) goto __error1; - } if (!try_module_get(card->module)) { err = -ENODEV; goto __error2;