Skip to content

Commit

Permalink
[S390] vmur: remove BKL
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Martin Schwidefsky authored and Martin Schwidefsky committed Dec 7, 2009
1 parent b8ccc51 commit 3c492d2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/s390/char/vmur.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,6 @@ static int ur_open(struct inode *inode, struct file *file)

if (accmode == O_RDWR)
return -EACCES;
lock_kernel();
/*
* We treat the minor number as the devno of the ur device
* to find in the driver tree.
Expand Down Expand Up @@ -749,7 +748,6 @@ static int ur_open(struct inode *inode, struct file *file)
goto fail_urfile_free;
urf->file_reclen = rc;
file->private_data = urf;
unlock_kernel();
return 0;

fail_urfile_free:
Expand All @@ -761,7 +759,6 @@ static int ur_open(struct inode *inode, struct file *file)
fail_put:
urdev_put(urd);
out:
unlock_kernel();
return rc;
}

Expand Down

0 comments on commit 3c492d2

Please sign in to comment.