ALSA: hda - Fix pending unsol events at shutdown
[linux-2.6-block.git] / fs / open.c
index c60cd22cc052a41d2e0b2b1f954051268ae10bf8..b62f5c0923a80cc168904b940e564fb2721a4f40 100644 (file)
--- a/fs/open.c
+++ b/fs/open.c
@@ -776,7 +776,7 @@ static int do_dentry_open(struct file *f,
                f->f_mode |= FMODE_ATOMIC_POS;
 
        f->f_op = fops_get(inode->i_fop);
-       if (unlikely(WARN_ON(!f->f_op))) {
+       if (WARN_ON(!f->f_op)) {
                error = -ENODEV;
                goto cleanup_all;
        }