Commit 18c85d09 authored by Al Viro's avatar Al Viro

[infiniband] remove pointless assignments

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment