mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[S390] vmur: remove BKL
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
b8ccc51f6f
commit
3c492d2033
1 changed files with 0 additions and 3 deletions
|
@ -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.
|
||||
|
@ -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:
|
||||
|
@ -761,7 +759,6 @@ fail_unlock:
|
|||
fail_put:
|
||||
urdev_put(urd);
|
||||
out:
|
||||
unlock_kernel();
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue