提交 3c492d20 编写于 作者: M Martin Schwidefsky 提交者: Martin Schwidefsky

[S390] vmur: remove BKL

Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 b8ccc51f
......@@ -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 @@ static int ur_open(struct inode *inode, struct file *file)
fail_put:
urdev_put(urd);
out:
unlock_kernel();
return rc;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册