提交 18c85d09 编写于 作者: A Al Viro

[infiniband] remove pointless assignments

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 fb6c3225
......@@ -82,7 +82,6 @@ static int create_file(const char *name, umode_t mode,
{
int error;
*dentry = NULL;
mutex_lock(&parent->d_inode->i_mutex);
*dentry = lookup_one_len(name, parent, strlen(name));
if (!IS_ERR(*dentry))
......
......@@ -89,7 +89,6 @@ static int create_file(const char *name, umode_t mode,
{
int error;
*dentry = NULL;
mutex_lock(&parent->d_inode->i_mutex);
*dentry = lookup_one_len(name, parent, strlen(name));
if (!IS_ERR(*dentry))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册