]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/char_dev.c
x86: sparse_irq: fix typo in debug print out
[linux-2.6-omap-h63xx.git] / fs / char_dev.c
index a54d69369b2f4d5384f9072e99ee0e015c780e87..3cb7cda3d780e95026142398f4c52cdf565d93b6 100644 (file)
@@ -394,11 +394,8 @@ static int chrdev_open(struct inode *inode, struct file *filp)
                cdev_put(p);
                return -ENXIO;
        }
-       if (filp->f_op->open) {
-               lock_kernel();
+       if (filp->f_op->open)
                ret = filp->f_op->open(inode,filp);
-               unlock_kernel();
-       }
        if (ret)
                cdev_put(p);
        return ret;