Loading drivers/s390/char/vmur.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -695,7 +695,6 @@ static int ur_open(struct inode *inode, struct file *file) if (accmode == O_RDWR) if (accmode == O_RDWR) return -EACCES; return -EACCES; lock_kernel(); /* /* * We treat the minor number as the devno of the ur device * We treat the minor number as the devno of the ur device * to find in the driver tree. * to find in the driver tree. Loading Loading @@ -749,7 +748,6 @@ static int ur_open(struct inode *inode, struct file *file) goto fail_urfile_free; goto fail_urfile_free; urf->file_reclen = rc; urf->file_reclen = rc; file->private_data = urf; file->private_data = urf; unlock_kernel(); return 0; return 0; fail_urfile_free: fail_urfile_free: Loading @@ -761,7 +759,6 @@ static int ur_open(struct inode *inode, struct file *file) fail_put: fail_put: urdev_put(urd); urdev_put(urd); out: out: unlock_kernel(); return rc; return rc; } } Loading Loading
drivers/s390/char/vmur.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -695,7 +695,6 @@ static int ur_open(struct inode *inode, struct file *file) if (accmode == O_RDWR) if (accmode == O_RDWR) return -EACCES; return -EACCES; lock_kernel(); /* /* * We treat the minor number as the devno of the ur device * We treat the minor number as the devno of the ur device * to find in the driver tree. * to find in the driver tree. Loading Loading @@ -749,7 +748,6 @@ static int ur_open(struct inode *inode, struct file *file) goto fail_urfile_free; goto fail_urfile_free; urf->file_reclen = rc; urf->file_reclen = rc; file->private_data = urf; file->private_data = urf; unlock_kernel(); return 0; return 0; fail_urfile_free: fail_urfile_free: Loading @@ -761,7 +759,6 @@ static int ur_open(struct inode *inode, struct file *file) fail_put: fail_put: urdev_put(urd); urdev_put(urd); out: out: unlock_kernel(); return rc; return rc; } } Loading